Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009316/0.0009315, allocations: 176.1 kB / 16.72 MB, free: 5.082 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.184/1.184, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007536/0.0007537, allocations: 92.02 kB / 271.2 MB, free: 8.246 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.2884/0.2884, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 12 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09153, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.001677/0.09325, allocations: 1.398 MB / 492.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.09422, allocations: 0.7344 MB / 493 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.09428, allocations: 3.938 kB / 493 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.09454, allocations: 87.81 kB / 493.1 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.09471, allocations: 55.8 kB / 493.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.09494, allocations: 79.84 kB / 493.2 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.09507, allocations: 87.69 kB / 493.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.09515, allocations: 16.2 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.09523, allocations: 51.77 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.09531, allocations: 43.84 kB / 493.4 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.09533, allocations: 0 / 493.4 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.779e-05/0.09542, allocations: 43.91 kB / 493.4 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.09546, allocations: 19.92 kB / 493.4 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/0.09553, allocations: 61.44 kB / 493.5 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.09565, allocations: 88.09 kB / 493.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09566, allocations: 0 / 493.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09567, allocations: 0 / 493.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.09568, allocations: 0 / 493.6 MB, free: 8.098 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004171/0.0961, allocations: 403.1 kB / 494 MB, free: 7.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.09613, allocations: 12.03 kB / 494 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.09617, allocations: 12.75 kB / 494 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.09636, allocations: 208.1 kB / 494.2 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.09638, allocations: 12.3 kB / 494.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.09641, allocations: 12.06 kB / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.09654, allocations: 53.67 kB / 494.3 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.09655, allocations: 0 / 494.3 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.09657, allocations: 0 / 494.3 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.09658, allocations: 4 kB / 494.3 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.538e-05/0.09665, allocations: 19.98 kB / 494.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.09695, allocations: 280.9 kB / 494.6 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.0971, allocations: 66.59 kB / 494.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.09716, allocations: 16.86 kB / 494.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.09718, allocations: 8 kB / 494.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.09733, allocations: 63.39 kB / 494.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.09734, allocations: 0 / 494.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004487/0.0978, allocations: 177 kB / 494.9 MB, free: 6.605 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.09784, allocations: 55.34 kB / 495 MB, free: 6.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.09802, allocations: 210.3 kB / 495.2 MB, free: 6.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.09805, allocations: 37.7 kB / 495.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.0981, allocations: 100.1 kB / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.09813, allocations: 27.64 kB / 495.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.09814, allocations: 4 kB / 495.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.09823, allocations: 326.8 kB / 495.7 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.574e-05/0.0983, allocations: 27.92 kB / 495.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.09836, allocations: 33.7 kB / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.09847, allocations: 57.7 kB / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.09848, allocations: 0 / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001644/0.09865, allocations: 105.4 kB / 495.9 MB, free: 5.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.09867, allocations: 7.438 kB / 495.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.09868, allocations: 0 / 495.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.09869, allocations: 4.375 kB / 495.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.33e-05/0.09877, allocations: 15.98 kB / 495.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.09878, allocations: 0 / 495.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.09883, allocations: 15.97 kB / 495.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.09885, allocations: 0 / 495.9 MB, free: 5.543 MB / 378.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.0001087/0.09896, allocations: 137.6 kB / 496 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.09898, allocations: 11.91 kB / 496.1 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.09903, allocations: 17.39 kB / 496.1 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.09903, allocations: 0 / 496.1 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.09904, allocations: 7.938 kB / 496.1 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.09905, allocations: 3.938 kB / 496.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.09943, allocations: 399.2 kB / 496.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.09945, allocations: 0 / 496.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.09948, allocations: 8 kB / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.09949, allocations: 0 / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.0995, allocations: 11.92 kB / 496.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.09951, allocations: 4 kB / 496.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.09952, allocations: 0 / 496.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.09972, allocations: 200.5 kB / 496.7 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.09977, allocations: 92.92 kB / 496.8 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.0998, allocations: 3.938 kB / 496.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.09988, allocations: 7.984 kB / 496.8 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.09991, allocations: 4.188 kB / 496.8 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.09993, allocations: 4 kB / 496.8 MB, free: 4.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1, allocations: 164.2 kB / 497 MB, free: 4.383 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1001, allocations: 4 kB / 497 MB, free: 4.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.1003, allocations: 24 kB / 497 MB, free: 4.355 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: 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 (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.0008305/0.1011, allocations: 460.4 kB / 497.4 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.1013, allocations: 71.89 kB / 497.5 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1013, allocations: 0 / 497.5 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/0.1014, allocations: 27.92 kB / 497.5 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1017, allocations: 27.58 kB / 497.6 MB, free: 3.824 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.1021, allocations: 284 kB / 497.8 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.1023, allocations: 0.7004 MB / 498.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.1023, allocations: 19.42 kB / 498.6 MB, free: 2.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1023, allocations: 0 / 498.6 MB, free: 2.77 MB / 378.7 MB Notification: Performance of Templates: time 0.00292/0.1052, allocations: 1.937 MB / 0.4888 GB, free: 0.8359 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches