Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 108.7 kB / 18.45 MB, free: 4.645 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.001265/0.001265, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.286/1.286, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.203/0.203, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.89 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3618, allocations: 60.82 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002991/0.3648, allocations: 1.71 MB / 0.5213 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3662, allocations: 0.8808 MB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.048e-05/0.3663, allocations: 5.25 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.3666, allocations: 45.95 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.3669, allocations: 63.75 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.3672, allocations: 110.4 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.3674, allocations: 100.5 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3675, allocations: 6.672 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/0.3676, allocations: 41.08 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.3677, allocations: 31.17 kB / 0.5226 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.3677, allocations: 3.312 kB / 0.5226 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.3678, allocations: 46.83 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.3679, allocations: 24.05 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.368, allocations: 42.48 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.3682, allocations: 133.4 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3682, allocations: 0 / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3682, allocations: 0 / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3682, allocations: 0 / 0.5228 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.0005381/0.3688, allocations: 438.6 kB / 0.5232 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3688, allocations: 10.03 kB / 0.5232 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.3689, allocations: 19.14 kB / 0.5232 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.3692, allocations: 214 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3692, allocations: 1.531 kB / 0.5235 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.3692, allocations: 11.25 kB / 0.5235 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3694, allocations: 54.88 kB / 0.5235 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3694, allocations: 3.938 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3694, allocations: 4.516 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3694, allocations: 1.406 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.3695, allocations: 17.62 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.3698, allocations: 302.4 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.37, allocations: 59.97 kB / 0.5239 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.3701, allocations: 20.66 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3701, allocations: 0 / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.3703, allocations: 70.39 kB / 0.524 GB, free: 428 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3703, allocations: 0 / 0.524 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005363/0.3708, allocations: 187.3 kB / 0.5242 GB, free: 328 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.3709, allocations: 56.41 kB / 0.5242 GB, free: 260 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.3711, allocations: 258.5 kB / 0.5245 GB, free: 112 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.3711, allocations: 27.23 kB / 0.5245 GB, free: 80 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.3712, allocations: 115.8 kB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.3713, allocations: 29.64 kB / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.3713, allocations: 25.88 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3715, allocations: 328.9 kB / 0.525 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.3715, allocations: 21.12 kB / 0.525 GB, free: 15.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.3716, allocations: 39.48 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.3717, allocations: 61.77 kB / 0.5251 GB, free: 15.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3717, allocations: 4 kB / 0.5251 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001794/0.3719, allocations: 103.3 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3719, allocations: 5.344 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3719, allocations: 0 / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.372, allocations: 2.344 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.3721, allocations: 15.62 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3721, allocations: 0 / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.3721, allocations: 7.125 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.3721, allocations: 7.266 kB / 0.5252 GB, free: 15.46 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 0.0001176/0.3723, allocations: 141.4 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.3723, allocations: 14.86 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.3724, allocations: 20.08 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3724, allocations: 1.062 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3724, allocations: 0 / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3724, allocations: 5.594 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.3729, allocations: 398 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3729, allocations: 5.156 kB / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.3729, allocations: 12.95 kB / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3729, allocations: 1.469 kB / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.373, allocations: 10.02 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.373, allocations: 5.188 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.373, allocations: 1.25 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.3732, allocations: 202 kB / 0.526 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.3733, allocations: 97.06 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.3733, allocations: 6.688 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.3734, allocations: 2.844 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.3734, allocations: 11.11 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.3735, allocations: 6.422 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.3737, allocations: 200.6 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3737, allocations: 0 / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3739, allocations: 27 kB / 0.5263 GB, free: 14.54 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.001062/0.375, allocations: 467.9 kB / 0.5268 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.3752, allocations: 56.86 kB / 0.5268 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3752, allocations: 0 / 0.5268 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.3753, allocations: 37.36 kB / 0.5269 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3757, allocations: 41.09 kB / 0.5269 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.3762, allocations: 301.9 kB / 0.5272 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.3765, allocations: 0.7196 MB / 0.5279 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.3766, allocations: 17.16 kB / 0.5279 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3766, allocations: 7.938 kB / 0.5279 GB, free: 13.35 MB / 398.1 MB Notification: Performance of Templates: time 0.00421/0.3808, allocations: 2.059 MB / 0.5299 GB, free: 12.55 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches