Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 176.4 kB / 16.76 MB, free: 4.93 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.751/1.751, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0009549/0.0009544, allocations: 85.05 kB / 271.3 MB, free: 8.242 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.3979/0.3979, allocations: 43.56 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003903, allocations: 20 kB / 432.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.364/0.5028, allocations: 87.77 MB / 0.5657 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.5031, allocations: 75.97 kB / 0.5657 GB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01651/0.5196, allocations: 5.396 MB / 0.571 GB, free: 8.648 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5197, allocations: 0 / 0.571 GB, free: 8.648 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.5197, allocations: 4 kB / 0.571 GB, free: 8.645 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.0005632/0.5203, allocations: 410 kB / 0.5714 GB, free: 8.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5203, allocations: 16.02 kB / 0.5714 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.5204, allocations: 8.844 kB / 0.5714 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.5207, allocations: 223 kB / 0.5716 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.5208, allocations: 8.375 kB / 0.5716 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.5208, allocations: 384 / 0.5716 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.521, allocations: 58.23 kB / 0.5717 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.521, allocations: 192 / 0.5717 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.521, allocations: 3.938 kB / 0.5717 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.521, allocations: 0 / 0.5717 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.086e-05/0.5211, allocations: 19.98 kB / 0.5717 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.5216, allocations: 296.9 kB / 0.572 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.5217, allocations: 66.55 kB / 0.5721 GB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.5218, allocations: 20.86 kB / 0.5721 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.5218, allocations: 3.938 kB / 0.5721 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.522, allocations: 71.36 kB / 0.5722 GB, free: 7.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.522, allocations: 4 kB / 0.5722 GB, free: 7.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005698/0.5226, allocations: 177.2 kB / 0.5723 GB, free: 7.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.5226, allocations: 51.41 kB / 0.5724 GB, free: 7.055 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.5228, allocations: 182.2 kB / 0.5726 GB, free: 6.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.5229, allocations: 29.7 kB / 0.5726 GB, free: 6.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.5229, allocations: 108.1 kB / 0.5727 GB, free: 6.723 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.523, allocations: 19.66 kB / 0.5727 GB, free: 6.703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.523, allocations: 4 kB / 0.5727 GB, free: 6.699 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.5231, allocations: 330.7 kB / 0.573 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.012e-05/0.5232, allocations: 23.98 kB / 0.573 GB, free: 6.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.5233, allocations: 38.45 kB / 0.5731 GB, free: 6.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.5234, allocations: 57.7 kB / 0.5731 GB, free: 6.238 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5234, allocations: 0 / 0.5731 GB, free: 6.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002033/0.5236, allocations: 105.4 kB / 0.5732 GB, free: 6.129 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5236, allocations: 7.984 kB / 0.5732 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5236, allocations: 0 / 0.5732 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5237, allocations: 4.188 kB / 0.5733 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.5238, allocations: 16 kB / 0.5733 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.5238, allocations: 3.938 kB / 0.5733 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.5238, allocations: 7.938 kB / 0.5733 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.5238, allocations: 7.984 kB / 0.5733 GB, free: 6.082 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.0001091/0.524, allocations: 126.5 kB / 0.5734 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.524, allocations: 11.94 kB / 0.5734 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.5242, allocations: 118.3 kB / 0.5735 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5243, allocations: 0 / 0.5735 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5243, allocations: 3.984 kB / 0.5735 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5243, allocations: 4 kB / 0.5735 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.5248, allocations: 411.2 kB / 0.5739 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5248, allocations: 0 / 0.5739 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.5248, allocations: 12.03 kB / 0.5739 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5248, allocations: 0 / 0.5739 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.5248, allocations: 7.984 kB / 0.574 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5249, allocations: 0 / 0.574 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5249, allocations: 4.312 kB / 0.574 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.5251, allocations: 212.3 kB / 0.5742 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.5252, allocations: 97 kB / 0.5743 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.5252, allocations: 8 kB / 0.5743 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.5254, allocations: 4 kB / 0.5743 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.5254, allocations: 7.922 kB / 0.5743 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.5255, allocations: 8 kB / 0.5743 GB, free: 4.953 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.5256, allocations: 144.8 kB / 0.5744 GB, free: 4.812 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.803e-06/0.5256, allocations: 0 / 0.5744 GB, free: 4.812 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002611/0.5259, allocations: 35.88 kB / 0.5744 GB, free: 4.777 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.001031/0.5269, allocations: 485.2 kB / 0.5749 GB, free: 4.402 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.5271, allocations: 67.84 kB / 0.575 GB, free: 4.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5271, allocations: 0 / 0.575 GB, free: 4.336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.5272, allocations: 40.03 kB / 0.575 GB, free: 4.297 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.5276, allocations: 19.98 kB / 0.575 GB, free: 4.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.5281, allocations: 256.8 kB / 0.5753 GB, free: 4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.5284, allocations: 0.7043 MB / 0.576 GB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.5284, allocations: 12.55 kB / 0.576 GB, free: 3.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.5285, allocations: 15.44 kB / 0.576 GB, free: 3.246 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5285, allocations: 0 / 0.576 GB, free: 3.246 MB / 394.7 MB Notification: Performance of Templates: time 0.00463/0.5331, allocations: 1.694 MB / 0.5776 GB, free: 1.566 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches