Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 114.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001903, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 75.88 kB / 482.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3396, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003464/0.3431, allocations: 1.687 MB / 0.5334 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.3451, allocations: 1.005 MB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.3453, allocations: 0 / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.3457, allocations: 64.48 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.3462, allocations: 100.6 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.3465, allocations: 82.91 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.3467, allocations: 103.7 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.49e-05/0.3468, allocations: 4.359 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.3469, allocations: 51.02 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.3471, allocations: 44.45 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.3471, allocations: 4.125 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.3472, allocations: 32.61 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.3473, allocations: 22.73 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.3474, allocations: 30.62 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.3476, allocations: 113.6 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3476, allocations: 0 / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3476, allocations: 0 / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.3477, allocations: 0 / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005314/0.3482, allocations: 409 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3482, allocations: 8.719 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.3483, allocations: 17.72 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.3486, allocations: 216.9 kB / 0.5356 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.3487, allocations: 5.359 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.3487, allocations: 5.594 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3489, allocations: 48.02 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3489, allocations: 0 / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3489, allocations: 8 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3489, allocations: 1.344 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.817e-05/0.349, allocations: 7.906 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.3492, allocations: 187.3 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.3494, allocations: 50.34 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.3494, allocations: 25.19 kB / 0.5359 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.3494, allocations: 5.062 kB / 0.5359 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.3496, allocations: 72.45 kB / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.644e-06/0.3496, allocations: 0 / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002785/0.3499, allocations: 95.61 kB / 0.5361 GB, free: 9.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.3499, allocations: 52.53 kB / 0.5362 GB, free: 9.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.3501, allocations: 192.2 kB / 0.5363 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.3502, allocations: 26.73 kB / 0.5364 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.3502, allocations: 108.3 kB / 0.5365 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.3503, allocations: 17.97 kB / 0.5365 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.3503, allocations: 23.55 kB / 0.5365 GB, free: 9.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3505, allocations: 326.2 kB / 0.5368 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.447e-05/0.3505, allocations: 11.91 kB / 0.5368 GB, free: 9.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.538e-05/0.3506, allocations: 27.33 kB / 0.5369 GB, free: 9.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.3507, allocations: 46.64 kB / 0.5369 GB, free: 9.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3507, allocations: 5 kB / 0.5369 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001785/0.3509, allocations: 79.78 kB / 0.537 GB, free: 9.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3509, allocations: 6.75 kB / 0.537 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3509, allocations: 1.219 kB / 0.537 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.351, allocations: 5.125 kB / 0.537 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.351, allocations: 11.75 kB / 0.537 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3511, allocations: 5.172 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.304e-05/0.3511, allocations: 6.375 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.3511, allocations: 2.25 kB / 0.537 GB, free: 9.125 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 (7): * Single equations (assignments): 7 * 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.0001111/0.3513, allocations: 123 kB / 0.5371 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.3513, allocations: 20.2 kB / 0.5371 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.3513, allocations: 14.34 kB / 0.5372 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3513, allocations: 0 / 0.5372 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3513, allocations: 0 / 0.5372 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.3514, allocations: 84.11 kB / 0.5372 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.3514, allocations: 4.984 kB / 0.5372 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.87e-05/0.3515, allocations: 10.03 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.3515, allocations: 2.219 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002183/0.3517, allocations: 168.4 kB / 0.5374 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002443/0.352, allocations: 252.9 kB / 0.5377 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.671e-05/0.3521, allocations: 16.95 kB / 0.5377 GB, free: 8.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.3522, allocations: 152.5 kB / 0.5378 GB, free: 8.375 MB / 398.1 MB Notification: Performance of Backend: time 2.81e-07/0.3522, allocations: 4 kB / 0.5378 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.3535, allocations: 419 kB / 0.5382 GB, free: 8.164 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006833/0.3542, allocations: 0.6548 MB / 0.5389 GB, free: 7.523 MB / 398.1 MB Notification: Performance of Templates: time 0.004312/0.3585, allocations: 1.557 MB / 0.5404 GB, free: 6.727 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches