Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001829/0.001829, allocations: 113.7 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.002627/0.002627, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.74/2.74, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002708/0.002708, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7466/0.7494, allocations: 50.55 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.005496/0.755, allocations: 1.883 MB / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.7584, allocations: 1.188 MB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.7588, allocations: 3.938 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.7599, allocations: 159.5 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007009/0.7606, allocations: 147.4 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008891/0.7615, allocations: 178.9 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.7619, allocations: 187.6 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.7623, allocations: 29.55 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.7625, allocations: 87.56 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.7627, allocations: 67.7 kB / 413.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.7627, allocations: 8 kB / 413.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.7631, allocations: 63.95 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.7632, allocations: 43.78 kB / 414 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.7633, allocations: 75.47 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007325/0.7641, allocations: 207 kB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.7641, allocations: 0 / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.7641, allocations: 4 kB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.7642, allocations: 0 / 414.2 MB, free: 13.25 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.001505/0.7657, allocations: 0.5209 MB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0002524/0.7659, allocations: 8.031 kB / 414.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.766, allocations: 20.75 kB / 414.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/0.7666, allocations: 266.8 kB / 415 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.7667, allocations: 8.375 kB / 415.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.7667, allocations: 16.06 kB / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.7673, allocations: 154.7 kB / 415.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.7674, allocations: 0 / 415.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.7674, allocations: 0 / 415.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.7674, allocations: 4 kB / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.7676, allocations: 31.98 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/0.7684, allocations: 354.4 kB / 415.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.7687, allocations: 111.9 kB / 415.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.7689, allocations: 42.58 kB / 415.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.724e-05/0.769, allocations: 11.97 kB / 415.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002875/0.7693, allocations: 75.33 kB / 415.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.7693, allocations: 0 / 415.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000567/0.7698, allocations: 141.3 kB / 416 MB, free: 11.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.77, allocations: 132.5 kB / 416.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/0.7706, allocations: 269 kB / 416.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.7707, allocations: 29.95 kB / 416.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.7709, allocations: 132.1 kB / 416.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.771, allocations: 11.91 kB / 416.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.7711, allocations: 33.55 kB / 416.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003152/0.7714, allocations: 334.7 kB / 416.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.166e-05/0.7715, allocations: 23.98 kB / 416.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.7716, allocations: 70 kB / 417 MB, free: 10.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.772, allocations: 84.47 kB / 417.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.772, allocations: 0 / 417.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003071/0.7723, allocations: 117.4 kB / 417.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.7723, allocations: 8 kB / 417.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.7724, allocations: 0 / 417.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.7724, allocations: 4 kB / 417.2 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.7725, allocations: 8 kB / 417.2 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.7726, allocations: 4 kB / 417.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.7727, allocations: 15.86 kB / 417.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.7727, allocations: 8 kB / 417.2 MB, free: 9.914 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,sample1.u,subSample1.y,subSample1.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.0002336/0.773, allocations: 149.8 kB / 417.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.7731, allocations: 57.42 kB / 417.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.475e-05/0.7732, allocations: 21.7 kB / 417.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.7732, allocations: 4 kB / 417.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.7732, allocations: 0 / 417.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.7732, allocations: 11.86 kB / 417.5 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.7736, allocations: 225.6 kB / 417.7 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.7736, allocations: 0 / 417.7 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.7737, allocations: 4 kB / 417.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.7737, allocations: 4.062 kB / 417.7 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.7737, allocations: 11.92 kB / 417.7 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.7737, allocations: 0 / 417.7 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.7737, allocations: 0 / 417.7 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.7741, allocations: 162.5 kB / 417.9 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.7743, allocations: 108.8 kB / 418 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.7744, allocations: 12 kB / 418 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.7745, allocations: 7.938 kB / 418 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.7745, allocations: 3.984 kB / 418 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.7746, allocations: 7.938 kB / 418 MB, free: 9.027 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003901/0.775, allocations: 204.5 kB / 418.2 MB, free: 8.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.775, allocations: 0 / 418.2 MB, free: 8.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004568/0.7755, allocations: 24 kB / 418.2 MB, free: 8.805 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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.001556/0.777, allocations: 416.8 kB / 418.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003259/0.7774, allocations: 63.92 kB / 418.7 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7774, allocations: 0 / 418.7 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.7775, allocations: 27.98 kB / 418.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.7781, allocations: 67.8 kB / 418.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009643/0.7791, allocations: 354.8 kB / 419.1 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.7796, allocations: 0.728 MB / 419.9 MB, free: 7.238 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.7797, allocations: 23.44 kB / 419.9 MB, free: 7.215 MB / 334.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7797, allocations: 0 / 419.9 MB, free: 7.215 MB / 334.1 MB Notification: Performance of Templates: time 0.01063/0.7903, allocations: 2.68 MB / 422.6 MB, free: 4.551 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches