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.001144/0.001145, allocations: 183.3 kB / 15.76 MB, free: 6.367 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.669/1.669, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001049/0.001049, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2176/0.2176, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1527, allocations: 58.85 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4085/0.5612, allocations: 87.59 MB / 0.5643 GB, free: 12.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.5615, allocations: 80.02 kB / 0.5644 GB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01671/0.5782, allocations: 6.497 MB / 0.5707 GB, free: 6.609 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5783, allocations: 4 kB / 0.5707 GB, free: 6.605 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.5783, allocations: 8 kB / 0.5707 GB, free: 6.598 MB / 378.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.0009275/0.5792, allocations: 0.7146 MB / 0.5714 GB, free: 5.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.5793, allocations: 12.02 kB / 0.5714 GB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.5794, allocations: 47.44 kB / 0.5715 GB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008455/0.5802, allocations: 493.7 kB / 0.5719 GB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.5803, allocations: 11.25 kB / 0.572 GB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.5803, allocations: 4 kB / 0.572 GB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.5805, allocations: 90.22 kB / 0.572 GB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.5805, allocations: 0 / 0.572 GB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5805, allocations: 0 / 0.572 GB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5805, allocations: 0 / 0.572 GB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.5806, allocations: 38.84 kB / 0.5721 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.5811, allocations: 390.4 kB / 0.5725 GB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.5813, allocations: 109 kB / 0.5726 GB, free: 4.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.5814, allocations: 4 kB / 0.5726 GB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.5816, allocations: 116 kB / 0.5727 GB, free: 4.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.5816, allocations: 0 / 0.5727 GB, free: 4.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005003/0.5821, allocations: 199.6 kB / 0.5729 GB, free: 4.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.5822, allocations: 77.73 kB / 0.5729 GB, free: 4.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.5834, allocations: 0.9392 MB / 0.5739 GB, free: 3.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.5834, allocations: 25.7 kB / 0.5739 GB, free: 3.559 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.5836, allocations: 238.3 kB / 0.5741 GB, free: 3.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.5836, allocations: 35.36 kB / 0.5741 GB, free: 3.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.5836, allocations: 0 / 0.5741 GB, free: 3.398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5838, allocations: 373.9 kB / 0.5745 GB, free: 3.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.263e-05/0.5839, allocations: 27.73 kB / 0.5745 GB, free: 3.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.212e-05/0.584, allocations: 58.72 kB / 0.5746 GB, free: 2.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.356e-05/0.5841, allocations: 34.94 kB / 0.5746 GB, free: 2.945 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5841, allocations: 0 / 0.5746 GB, free: 2.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002968/0.5844, allocations: 167.9 kB / 0.5748 GB, free: 2.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.5844, allocations: 8 kB / 0.5748 GB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5845, allocations: 0 / 0.5748 GB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5845, allocations: 0 / 0.5748 GB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.5846, allocations: 28.55 kB / 0.5748 GB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5846, allocations: 4.062 kB / 0.5748 GB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.5847, allocations: 23.7 kB / 0.5748 GB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.5848, allocations: 4 kB / 0.5748 GB, free: 2.738 MB / 378.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.000221/0.585, allocations: 231.8 kB / 0.5751 GB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.5851, allocations: 55.34 kB / 0.5751 GB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.5855, allocations: 199 kB / 0.5753 GB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5855, allocations: 7.938 kB / 0.5753 GB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.5855, allocations: 4 kB / 0.5753 GB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5855, allocations: 0 / 0.5753 GB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.5859, allocations: 390.2 kB / 0.5757 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5859, allocations: 0 / 0.5757 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.5859, allocations: 11.98 kB / 0.5757 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.5859, allocations: 3.938 kB / 0.5757 GB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.586, allocations: 7.688 kB / 0.5757 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.586, allocations: 0 / 0.5757 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.586, allocations: 0 / 0.5757 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.5863, allocations: 233.8 kB / 0.5759 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.5867, allocations: 191.6 kB / 0.5761 GB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.5867, allocations: 7.688 kB / 0.5761 GB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.572e-05/0.5868, allocations: 8 kB / 0.5761 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.5869, allocations: 11.55 kB / 0.5761 GB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.5869, allocations: 11.98 kB / 0.5762 GB, free: 1.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007866/0.5877, allocations: 0.7479 MB / 0.5769 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5877, allocations: 3.938 kB / 0.5769 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003019/0.588, allocations: 79.94 kB / 0.577 GB, free: 0.8281 MB / 378.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.0008796/0.5889, allocations: 430.1 kB / 0.5774 GB, free: 480 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.5891, allocations: 87.08 kB / 0.5775 GB, free: 412 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5891, allocations: 128 / 0.5775 GB, free: 412 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.5892, allocations: 55.2 kB / 0.5775 GB, free: 368 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.5896, allocations: 65.47 kB / 0.5776 GB, free: 320 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.5909, allocations: 0.9963 MB / 0.5785 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.5913, allocations: 0.8538 MB / 0.5794 GB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.5914, allocations: 82.97 kB / 0.5795 GB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.933e-05/0.5915, allocations: 47.23 kB / 0.5795 GB, free: 14.38 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.5915, allocations: 4 kB / 0.5795 GB, free: 14.38 MB / 394.7 MB Notification: Performance of Templates: time 0.008166/0.5997, allocations: 4.586 MB / 0.584 GB, free: 9.801 MB / 394.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/jenkins/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