Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009279/0.0009283, allocations: 176.2 kB / 16.76 MB, free: 5.047 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.771/1.771, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0008921/0.0008919, allocations: 78.42 kB / 271.3 MB, free: 8.238 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.4354/0.4354, allocations: 43.57 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004908, allocations: 19.98 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1361, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3561/0.4922, allocations: 87.62 MB / 0.5655 GB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.4924, allocations: 75.95 kB / 0.5656 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01711/0.5096, allocations: 6.519 MB / 0.572 GB, free: 7.824 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5096, allocations: 0 / 0.572 GB, free: 7.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.154e-05/0.5096, allocations: 8 kB / 0.572 GB, free: 7.816 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001053/0.5107, allocations: 0.715 MB / 0.5727 GB, free: 7.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5108, allocations: 12.03 kB / 0.5727 GB, free: 7.039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.5109, allocations: 44.38 kB / 0.5727 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/0.5118, allocations: 0.5065 MB / 0.5732 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.5118, allocations: 384 / 0.5732 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.5118, allocations: 8.375 kB / 0.5732 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.512, allocations: 83.92 kB / 0.5733 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.5121, allocations: 4.188 kB / 0.5733 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.5121, allocations: 3.938 kB / 0.5733 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5121, allocations: 3.938 kB / 0.5733 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.5122, allocations: 31.97 kB / 0.5733 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.5127, allocations: 382.3 kB / 0.5737 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.513, allocations: 113.2 kB / 0.5738 GB, free: 5.754 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.801e-05/0.5131, allocations: 41.7 kB / 0.5739 GB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.5131, allocations: 4 kB / 0.5739 GB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.5133, allocations: 109 kB / 0.574 GB, free: 5.578 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.903e-06/0.5133, allocations: 4 kB / 0.574 GB, free: 5.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005302/0.5139, allocations: 209.4 kB / 0.5742 GB, free: 5.363 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.5139, allocations: 81.11 kB / 0.5742 GB, free: 5.266 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.5154, allocations: 1.007 MB / 0.5752 GB, free: 4.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.5155, allocations: 29.7 kB / 0.5753 GB, free: 4.215 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.5156, allocations: 232.1 kB / 0.5755 GB, free: 3.984 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.5157, allocations: 35.55 kB / 0.5755 GB, free: 3.949 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.5157, allocations: 0 / 0.5755 GB, free: 3.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5159, allocations: 366.8 kB / 0.5759 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.59e-05/0.516, allocations: 39.97 kB / 0.5759 GB, free: 3.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.208e-05/0.5161, allocations: 51.42 kB / 0.576 GB, free: 3.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.5163, allocations: 95.34 kB / 0.576 GB, free: 3.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5163, allocations: 1.031 kB / 0.576 GB, free: 3.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003513/0.5167, allocations: 169 kB / 0.5762 GB, free: 3.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5167, allocations: 7.938 kB / 0.5762 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5167, allocations: 0 / 0.5762 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.5167, allocations: 7.938 kB / 0.5762 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.5169, allocations: 19.98 kB / 0.5762 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.5169, allocations: 4 kB / 0.5762 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.517, allocations: 19.84 kB / 0.5763 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.517, allocations: 4.062 kB / 0.5763 GB, free: 3.141 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002343/0.5173, allocations: 233.5 kB / 0.5765 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.5174, allocations: 59.28 kB / 0.5765 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.5178, allocations: 205.4 kB / 0.5767 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.5178, allocations: 4 kB / 0.5767 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.5178, allocations: 320 / 0.5767 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5178, allocations: 0 / 0.5767 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.5182, allocations: 385.3 kB / 0.5771 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5182, allocations: 4 kB / 0.5771 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.523e-05/0.5183, allocations: 12 kB / 0.5771 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.5183, allocations: 11.92 kB / 0.5771 GB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.5183, allocations: 3.984 kB / 0.5771 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5183, allocations: 4 kB / 0.5771 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5183, allocations: 0 / 0.5771 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.5187, allocations: 213.2 kB / 0.5774 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.5189, allocations: 200.3 kB / 0.5775 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.519, allocations: 11.92 kB / 0.5776 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.5191, allocations: 4 kB / 0.5776 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.5192, allocations: 11.98 kB / 0.5776 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.5192, allocations: 4 kB / 0.5776 GB, free: 1.695 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009655/0.5201, allocations: 0.7603 MB / 0.5783 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5202, allocations: 0 / 0.5783 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003334/0.5205, allocations: 80 kB / 0.5784 GB, free: 0.8594 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000932/0.5214, allocations: 422.6 kB / 0.5788 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.5217, allocations: 91.89 kB / 0.5789 GB, free: 460 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5217, allocations: 0 / 0.5789 GB, free: 460 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.5218, allocations: 43.92 kB / 0.5789 GB, free: 416 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.5223, allocations: 62.83 kB / 0.579 GB, free: 356 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.5238, allocations: 1.005 MB / 0.58 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.5243, allocations: 0.8507 MB / 0.5808 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000171/0.5245, allocations: 86.95 kB / 0.5809 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.947e-05/0.5246, allocations: 39.44 kB / 0.5809 GB, free: 14.32 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5246, allocations: 0 / 0.5809 GB, free: 14.32 MB / 410.7 MB Notification: Performance of Templates: time 0.009374/0.534, allocations: 4.61 MB / 0.5854 GB, free: 9.719 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches