Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009614/0.0009614, allocations: 175.5 kB / 16.76 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007903/0.0007901, allocations: 90.41 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4083/0.4083, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004077, allocations: 12 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1385, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4979, allocations: 87.99 MB / 0.5659 GB, free: 14.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.4982, allocations: 75.97 kB / 0.566 GB, free: 13.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.017/0.5153, allocations: 5.972 MB / 0.5718 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5153, allocations: 0 / 0.5718 GB, free: 8.004 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.5153, allocations: 3.984 kB / 0.5718 GB, free: 8 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005709/0.5159, allocations: 402.2 kB / 0.5722 GB, free: 7.559 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.516, allocations: 16.03 kB / 0.5722 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.516, allocations: 8.844 kB / 0.5722 GB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.5163, allocations: 204.1 kB / 0.5724 GB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.5164, allocations: 8.359 kB / 0.5724 GB, free: 7.289 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.5164, allocations: 384 / 0.5724 GB, free: 7.289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.5166, allocations: 79.89 kB / 0.5725 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.5166, allocations: 4.125 kB / 0.5725 GB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.5166, allocations: 6.75 kB / 0.5725 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.5167, allocations: 8 kB / 0.5725 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.612e-05/0.5167, allocations: 15.98 kB / 0.5725 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.5172, allocations: 292.8 kB / 0.5728 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.5174, allocations: 62.56 kB / 0.5729 GB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.5175, allocations: 20.84 kB / 0.5729 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.5175, allocations: 4 kB / 0.5729 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.5177, allocations: 67.39 kB / 0.5729 GB, free: 6.656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.5177, allocations: 0 / 0.5729 GB, free: 6.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006397/0.5183, allocations: 170.1 kB / 0.5731 GB, free: 6.484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.5184, allocations: 85.09 kB / 0.5732 GB, free: 6.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.5186, allocations: 155.7 kB / 0.5733 GB, free: 6.227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.5186, allocations: 33.7 kB / 0.5734 GB, free: 6.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.5187, allocations: 96.12 kB / 0.5735 GB, free: 6.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.5187, allocations: 19.72 kB / 0.5735 GB, free: 6.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.5187, allocations: 0 / 0.5735 GB, free: 6.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5189, allocations: 326.8 kB / 0.5738 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.519, allocations: 23.92 kB / 0.5738 GB, free: 5.719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.5191, allocations: 42.56 kB / 0.5739 GB, free: 5.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.5192, allocations: 73.78 kB / 0.5739 GB, free: 5.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5192, allocations: 0 / 0.5739 GB, free: 5.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002004/0.5194, allocations: 101.5 kB / 0.574 GB, free: 5.484 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.5194, allocations: 4 kB / 0.574 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5194, allocations: 4 kB / 0.574 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5195, allocations: 0.9375 kB / 0.574 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.5196, allocations: 12 kB / 0.574 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.5196, allocations: 3.984 kB / 0.574 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/0.5196, allocations: 8.031 kB / 0.5741 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.5197, allocations: 7.938 kB / 0.5741 GB, free: 5.445 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.5198, allocations: 121.8 kB / 0.5742 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.5198, allocations: 11.91 kB / 0.5742 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.5201, allocations: 118.4 kB / 0.5743 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.5201, allocations: 3.984 kB / 0.5743 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5201, allocations: 7.984 kB / 0.5743 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.5201, allocations: 0 / 0.5743 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.5206, allocations: 415 kB / 0.5747 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5206, allocations: 0 / 0.5747 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.5207, allocations: 12.38 kB / 0.5747 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5207, allocations: 0 / 0.5747 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.5207, allocations: 4 kB / 0.5747 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5207, allocations: 4 kB / 0.5747 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5207, allocations: 7.938 kB / 0.5747 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.521, allocations: 208.2 kB / 0.5749 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.521, allocations: 85.02 kB / 0.575 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.5211, allocations: 11.98 kB / 0.575 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.5212, allocations: 0 / 0.575 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.5212, allocations: 11.92 kB / 0.575 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.5212, allocations: 4 kB / 0.575 GB, free: 4.328 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.5213, allocations: 128.5 kB / 0.5752 GB, free: 4.203 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5213, allocations: 0 / 0.5752 GB, free: 4.203 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003053/0.5217, allocations: 36 kB / 0.5752 GB, free: 4.168 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.5229, allocations: 0.5071 MB / 0.5757 GB, free: 3.758 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.5231, allocations: 59.92 kB / 0.5757 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5231, allocations: 0 / 0.5757 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/0.5232, allocations: 31.98 kB / 0.5758 GB, free: 3.668 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.5235, allocations: 23.97 kB / 0.5758 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.524, allocations: 220.3 kB / 0.576 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.5244, allocations: 0.7043 MB / 0.5767 GB, free: 2.676 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.101e-05/0.5245, allocations: 21.97 kB / 0.5767 GB, free: 2.656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.5245, allocations: 15.44 kB / 0.5767 GB, free: 2.641 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5245, allocations: 0 / 0.5767 GB, free: 2.641 MB / 394.7 MB Notification: Performance of Templates: time 0.005133/0.5297, allocations: 1.902 MB / 0.5786 GB, free: 0.7539 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches