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.001098/0.001098, allocations: 117.6 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 199.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3927, allocations: 50.55 MB / 409.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003819/0.3965, allocations: 1.891 MB / 411.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.3988, allocations: 1.185 MB / 412.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.399, allocations: 7.938 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007374/0.3998, allocations: 147.5 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.4001, allocations: 155.4 kB / 412.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.4006, allocations: 170.9 kB / 412.8 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.4009, allocations: 191.6 kB / 413 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.401, allocations: 29.47 kB / 413 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.4012, allocations: 83.62 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.4013, allocations: 75.69 kB / 413.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.4013, allocations: 11.94 kB / 413.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.4015, allocations: 63.91 kB / 413.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.4016, allocations: 43.83 kB / 413.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.4017, allocations: 71.48 kB / 413.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.4021, allocations: 211 kB / 413.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4021, allocations: 0 / 413.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4021, allocations: 0 / 413.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.4021, allocations: 0 / 413.6 MB, free: 13.24 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.001091/0.4032, allocations: 0.5209 MB / 414.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.4032, allocations: 8.031 kB / 414.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.781e-05/0.4033, allocations: 16.75 kB / 414.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.4038, allocations: 270.8 kB / 414.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.4038, allocations: 4.375 kB / 414.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.4039, allocations: 12.12 kB / 414.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.4043, allocations: 150.7 kB / 414.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.4043, allocations: 4 kB / 414.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.4044, allocations: 0 / 414.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4044, allocations: 0 / 414.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.4045, allocations: 31.97 kB / 414.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/0.4051, allocations: 366.4 kB / 414.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.4054, allocations: 103.9 kB / 415 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/0.4055, allocations: 54.56 kB / 415.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.4056, allocations: 4 kB / 415.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.4058, allocations: 75.31 kB / 415.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.4058, allocations: 0 / 415.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004157/0.4062, allocations: 145.3 kB / 415.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.4063, allocations: 132.5 kB / 415.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.4067, allocations: 269 kB / 415.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.4067, allocations: 29.7 kB / 415.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.4068, allocations: 124 kB / 415.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.4069, allocations: 11.89 kB / 415.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.4069, allocations: 37.81 kB / 415.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4071, allocations: 334.8 kB / 416.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.4072, allocations: 20 kB / 416.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.4073, allocations: 69.98 kB / 416.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.4075, allocations: 80.27 kB / 416.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4075, allocations: 3.984 kB / 416.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002243/0.4078, allocations: 109.4 kB / 416.5 MB, free: 9.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4078, allocations: 8 kB / 416.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4078, allocations: 4.125 kB / 416.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.4078, allocations: 3.984 kB / 416.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/0.4079, allocations: 12 kB / 416.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.408, allocations: 7.922 kB / 416.5 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.408, allocations: 15.88 kB / 416.5 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.408, allocations: 4 kB / 416.5 MB, free: 9.91 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.0001685/0.4082, allocations: 154 kB / 416.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.4084, allocations: 61.44 kB / 416.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.442e-05/0.4084, allocations: 29.67 kB / 416.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4084, allocations: 4 kB / 416.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.4085, allocations: 4 kB / 416.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4085, allocations: 3.938 kB / 416.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.4087, allocations: 233.6 kB / 417 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4087, allocations: 0 / 417 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.4088, allocations: 4 kB / 417 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4088, allocations: 0 / 417 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.4088, allocations: 4 kB / 417 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4088, allocations: 0 / 417 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4088, allocations: 4 kB / 417 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.4091, allocations: 162.4 kB / 417.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.4092, allocations: 104.8 kB / 417.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.4093, allocations: 8 kB / 417.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.4093, allocations: 11.92 kB / 417.3 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.4094, allocations: 4 kB / 417.3 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.4094, allocations: 7.938 kB / 417.3 MB, free: 9.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.4097, allocations: 204.5 kB / 417.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4097, allocations: 0 / 417.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.41, allocations: 27.98 kB / 417.6 MB, free: 8.789 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.001025/0.411, allocations: 407.2 kB / 418 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.4112, allocations: 75.84 kB / 418 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4112, allocations: 0 / 418 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.351e-05/0.4113, allocations: 27.98 kB / 418.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.4117, allocations: 64.73 kB / 418.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.4123, allocations: 316.7 kB / 418.4 MB, free: 8.023 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.4128, allocations: 0.7324 MB / 419.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.281e-05/0.4128, allocations: 17.55 kB / 419.2 MB, free: 7.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.4129, allocations: 19.44 kB / 419.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.174e-06/0.4129, allocations: 0 / 419.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of Templates: time 0.006682/0.4196, allocations: 2.455 MB / 421.6 MB, free: 4.789 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/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