Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00216/0.00216, allocations: 116.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003412/0.003412, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.941/2.941, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 63.88 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7364/0.7387, allocations: 50.55 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.007497/0.7463, allocations: 1.895 MB / 411.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004137/0.7506, allocations: 1.22 MB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003375/0.751, allocations: 4 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.7525, allocations: 147.5 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007432/0.7532, allocations: 155.4 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.7543, allocations: 179 kB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.7548, allocations: 187.5 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.755, allocations: 37.53 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.7552, allocations: 83.62 kB / 413.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.7554, allocations: 63.7 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.7555, allocations: 12 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.7558, allocations: 59.89 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.7559, allocations: 43.84 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.7561, allocations: 79.47 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.7566, allocations: 203 kB / 414.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.7566, allocations: 0 / 414.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.815e-06/0.7567, allocations: 0 / 414.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.7567, allocations: 7.938 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001438/0.7581, allocations: 0.5209 MB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.158e-05/0.7582, allocations: 8.031 kB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.7583, allocations: 16.75 kB / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007034/0.7591, allocations: 270.8 kB / 415.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.7591, allocations: 8.375 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.7592, allocations: 12.12 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005187/0.7597, allocations: 142.7 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.7597, allocations: 0 / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.7597, allocations: 11.98 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.7598, allocations: 0 / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.7599, allocations: 31.98 kB / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000836/0.7608, allocations: 354.4 kB / 415.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.7612, allocations: 115.9 kB / 415.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.7613, allocations: 46.56 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.7613, allocations: 0 / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003657/0.7617, allocations: 87.31 kB / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.7617, allocations: 0 / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000559/0.7623, allocations: 137.3 kB / 416 MB, free: 11.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.7625, allocations: 140.5 kB / 416.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.7629, allocations: 265 kB / 416.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.763, allocations: 29.7 kB / 416.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.7632, allocations: 128.3 kB / 416.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.7632, allocations: 11.89 kB / 416.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.7633, allocations: 37.56 kB / 416.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003416/0.7637, allocations: 334.8 kB / 416.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.7637, allocations: 19.98 kB / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.7639, allocations: 73.98 kB / 417 MB, free: 10.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.7641, allocations: 76.22 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7641, allocations: 0 / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004418/0.7646, allocations: 117.4 kB / 417.2 MB, free: 9.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.7646, allocations: 8 kB / 417.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.7646, allocations: 0 / 417.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.7647, allocations: 0 / 417.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.7648, allocations: 12 kB / 417.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.7648, allocations: 0 / 417.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.7649, allocations: 19.86 kB / 417.3 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.765, allocations: 7.938 kB / 417.3 MB, free: 9.883 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002824/0.7653, allocations: 154.2 kB / 417.4 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.7654, allocations: 65.34 kB / 417.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.412e-05/0.7655, allocations: 29.7 kB / 417.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.7655, allocations: 4 kB / 417.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.7655, allocations: 0 / 417.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.7655, allocations: 7.875 kB / 417.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.766, allocations: 225.6 kB / 417.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.766, allocations: 0 / 417.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.7661, allocations: 4 kB / 417.7 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.7661, allocations: 0 / 417.7 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.7661, allocations: 12.06 kB / 417.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.7661, allocations: 0 / 417.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.7661, allocations: 0 / 417.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.7669, allocations: 158.4 kB / 417.9 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.7672, allocations: 108.8 kB / 418 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.7672, allocations: 11.98 kB / 418 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.7673, allocations: 7.938 kB / 418 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.7674, allocations: 4 kB / 418 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.7674, allocations: 11.92 kB / 418 MB, free: 8.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003777/0.7678, allocations: 204.5 kB / 418.2 MB, free: 8.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7678, allocations: 0 / 418.2 MB, free: 8.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000411/0.7683, allocations: 28 kB / 418.3 MB, free: 8.758 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001634/0.7699, allocations: 416 kB / 418.7 MB, free: 8.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.7703, allocations: 63.91 kB / 418.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7703, allocations: 0 / 418.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.7704, allocations: 31.92 kB / 418.8 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.7711, allocations: 62.75 kB / 418.8 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.7721, allocations: 350.9 kB / 419.2 MB, free: 7.953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007856/0.773, allocations: 0.728 MB / 419.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.8e-05/0.773, allocations: 23.42 kB / 419.9 MB, free: 7.176 MB / 334.1 MB Notification: Performance of SimCode: time 7.62e-07/0.7731, allocations: 0 / 419.9 MB, free: 7.176 MB / 334.1 MB Notification: Performance of Templates: time 0.008604/0.7817, allocations: 2.678 MB / 422.6 MB, free: 4.512 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches