Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.196/0.196, allocations: 44.2 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3441, allocations: 60.82 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00287/0.347, allocations: 1.711 MB / 0.5207 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.3483, allocations: 0.8762 MB / 0.5215 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.446e-05/0.3484, allocations: 4.938 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.3487, allocations: 33.36 kB / 0.5215 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.349, allocations: 63.55 kB / 0.5216 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.3493, allocations: 117.8 kB / 0.5217 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.3494, allocations: 87.55 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.204e-05/0.3495, allocations: 15.45 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.564e-05/0.3496, allocations: 45.81 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.3497, allocations: 25.27 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.3497, allocations: 7.688 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3498, allocations: 47.5 kB / 0.5219 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.3499, allocations: 17.98 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.3499, allocations: 33.83 kB / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.3502, allocations: 113.5 kB / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3502, allocations: 0.7031 kB / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.3502, allocations: 1.062 kB / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.3502, allocations: 3.938 kB / 0.5221 GB, free: 1.535 MB / 382.1 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.0004594/0.3507, allocations: 420.2 kB / 0.5225 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3507, allocations: 13.19 kB / 0.5225 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.3507, allocations: 10.14 kB / 0.5225 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.351, allocations: 219.9 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.351, allocations: 2.531 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.351, allocations: 5.281 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.3512, allocations: 55.64 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3512, allocations: 0 / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3512, allocations: 1.562 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3512, allocations: 3.938 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.3513, allocations: 22.55 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.3516, allocations: 283.6 kB / 0.5231 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.3518, allocations: 56.31 kB / 0.5231 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/0.3519, allocations: 24.06 kB / 0.5232 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.3519, allocations: 5.891 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.352, allocations: 69.3 kB / 0.5232 GB, free: 444 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3521, allocations: 0 / 0.5232 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006034/0.3527, allocations: 189.4 kB / 0.5234 GB, free: 340 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.3527, allocations: 57.67 kB / 0.5235 GB, free: 272 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.353, allocations: 191.5 kB / 0.5237 GB, free: 140 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.353, allocations: 27.5 kB / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.353, allocations: 109.3 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/0.3531, allocations: 26.09 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.3532, allocations: 20.98 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3533, allocations: 330.2 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-05/0.3534, allocations: 18.88 kB / 0.5242 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.673e-05/0.3535, allocations: 34.16 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.3537, allocations: 66.16 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3537, allocations: 0 / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001794/0.3538, allocations: 105.9 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3539, allocations: 4.562 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3539, allocations: 1.688 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3539, allocations: 1.125 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.354, allocations: 19.67 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.354, allocations: 0.7031 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.3541, allocations: 10.89 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3541, allocations: 8.25 kB / 0.5244 GB, free: 15.49 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.39e-05/0.3542, allocations: 129.8 kB / 0.5245 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.3542, allocations: 14.2 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.3543, allocations: 17.42 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3543, allocations: 0 / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3543, allocations: 5.125 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3543, allocations: 4.688 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.3547, allocations: 391.1 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3547, allocations: 0.6094 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.3548, allocations: 13.59 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3548, allocations: 5.281 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3548, allocations: 1.906 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3548, allocations: 1.766 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3548, allocations: 0 / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.355, allocations: 202.4 kB / 0.5252 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.3551, allocations: 87.78 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.3551, allocations: 10.42 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.3552, allocations: 3.266 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.3552, allocations: 13.25 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.3552, allocations: 5.094 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.3554, allocations: 150.9 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3554, allocations: 0 / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.3556, allocations: 18.34 kB / 0.5254 GB, free: 14.61 MB / 398.1 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 (8): * Single equations (assignments): 6 * 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.001052/0.3567, allocations: 477.8 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.3569, allocations: 60.73 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3569, allocations: 4.062 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.408e-05/0.357, allocations: 29.39 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.3573, allocations: 29.47 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.3577, allocations: 229.8 kB / 0.5262 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.358, allocations: 0.712 MB / 0.5269 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.941e-05/0.3581, allocations: 11.39 kB / 0.5269 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.3581, allocations: 20.16 kB / 0.527 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3581, allocations: 0 / 0.527 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.004234/0.3624, allocations: 1.707 MB / 0.5286 GB, free: 12.91 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches