Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 103.1 kB / 18.4 MB, free: 4.676 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.001338/0.001338, allocations: 188 kB / 19.34 MB, free: 3.742 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.403/1.403, allocations: 222.9 MB / 243 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.2105/0.2105, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.12 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1445, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003549/0.1481, allocations: 1.6 MB / 472.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008271/0.149, allocations: 427.1 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.149, allocations: 0 / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.1494, allocations: 95.73 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.1497, allocations: 63.73 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.1501, allocations: 99.69 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.1503, allocations: 87.81 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1505, allocations: 23.97 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.1506, allocations: 35.91 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.1507, allocations: 63.75 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1508, allocations: 8 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1509, allocations: 43.98 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.688e-05/0.151, allocations: 31.84 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.1511, allocations: 39.69 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.1514, allocations: 127.5 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1514, allocations: 0 / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1514, allocations: 0 / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1514, allocations: 0 / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005653/0.152, allocations: 414.9 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.152, allocations: 16.03 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.1521, allocations: 12.75 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.1523, allocations: 208 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1523, allocations: 8.375 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.1524, allocations: 8.359 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.1526, allocations: 77.72 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1526, allocations: 0 / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1526, allocations: 0 / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1526, allocations: 4 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1527, allocations: 39.97 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.1532, allocations: 328.6 kB / 474.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.1534, allocations: 58.56 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.1535, allocations: 28.77 kB / 474.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.1535, allocations: 7.938 kB / 474.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1535, allocations: 34.56 kB / 474.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1535, allocations: 0 / 474.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001136/0.1547, allocations: 308.9 kB / 475 MB, free: 9.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1547, allocations: 55.41 kB / 475 MB, free: 9.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.155, allocations: 231.5 kB / 475.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.155, allocations: 25.7 kB / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.1551, allocations: 116 kB / 475.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.1552, allocations: 43.36 kB / 475.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.1552, allocations: 21.72 kB / 475.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1554, allocations: 326.8 kB / 475.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-05/0.1555, allocations: 35.97 kB / 475.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.431e-05/0.1556, allocations: 40.09 kB / 475.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.1558, allocations: 100.3 kB / 475.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1558, allocations: 0 / 475.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002418/0.156, allocations: 133.5 kB / 476.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1561, allocations: 4 kB / 476.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1561, allocations: 0 / 476.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1561, allocations: 7.938 kB / 476.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.1563, allocations: 35.91 kB / 476.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1563, allocations: 0 / 476.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.1563, allocations: 8 kB / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.1564, allocations: 4 kB / 476.1 MB, free: 8.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001292/0.1565, allocations: 129.8 kB / 476.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.1565, allocations: 11.91 kB / 476.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.1569, allocations: 163.8 kB / 476.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1569, allocations: 11.88 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1569, allocations: 0 / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1569, allocations: 0 / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006722/0.1576, allocations: 475.1 kB / 476.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1576, allocations: 3.984 kB / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.102e-05/0.1577, allocations: 27.92 kB / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1577, allocations: 4.031 kB / 476.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1577, allocations: 8 kB / 476.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1577, allocations: 0 / 476.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1578, allocations: 0 / 476.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.158, allocations: 240.1 kB / 477.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.1581, allocations: 92.92 kB / 477.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1581, allocations: 11.98 kB / 477.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.1582, allocations: 4 kB / 477.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.1582, allocations: 11.98 kB / 477.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.1583, allocations: 7.938 kB / 477.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.1584, allocations: 176.2 kB / 477.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1584, allocations: 0 / 477.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1587, allocations: 23.98 kB / 477.5 MB, free: 6.539 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001228/0.1599, allocations: 469.9 kB / 478 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.1602, allocations: 91.95 kB / 478 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/0.1602, allocations: 4 kB / 478 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.1603, allocations: 55.91 kB / 478.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1607, allocations: 23.05 kB / 478.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.1613, allocations: 303.9 kB / 478.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.1616, allocations: 0.7119 MB / 479.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.744e-05/0.1617, allocations: 20.61 kB / 479.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.1617, allocations: 19.42 kB / 479.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1617, allocations: 0 / 479.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of Templates: time 0.004374/0.1661, allocations: 1.516 MB / 480.7 MB, free: 3.484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches