Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009292/0.0009292, allocations: 98.3 kB / 17 MB, free: 6.418 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.0009736/0.0009738, allocations: 188.6 kB / 17.89 MB, free: 5.945 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.484/1.484, allocations: 223.2 MB / 241.9 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.227/0.227, allocations: 44.25 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003395, allocations: 11.94 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.001952/0.1475, allocations: 1.274 MB / 472.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000697/0.1482, allocations: 387.6 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.1483, allocations: 0 / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.1486, allocations: 71.83 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.1487, allocations: 51.88 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.149, allocations: 99.81 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1492, allocations: 59.83 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1493, allocations: 20.11 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/0.1494, allocations: 27.91 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1495, allocations: 39.83 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1495, allocations: 4 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.657e-05/0.1496, allocations: 35.98 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.1497, allocations: 19.92 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.1497, allocations: 41.64 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.1499, allocations: 71.88 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1499, allocations: 3.938 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1499, allocations: 0 / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1499, allocations: 0 / 473.8 MB, free: 11.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00052/0.1504, allocations: 395.2 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1505, allocations: 8.562 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.1505, allocations: 7.906 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1508, allocations: 194.9 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1508, allocations: 0 / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1509, allocations: 4 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.151, allocations: 65.55 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1511, allocations: 11.89 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1511, allocations: 0 / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1511, allocations: 0 / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1512, allocations: 27.98 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.1517, allocations: 304.8 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.1518, allocations: 46.5 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.1518, allocations: 24.94 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1519, allocations: 0 / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.1519, allocations: 34.56 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1519, allocations: 0 / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000918/0.1529, allocations: 261 kB / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.1529, allocations: 55.48 kB / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.1531, allocations: 210.2 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1531, allocations: 25.7 kB / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.1532, allocations: 108 kB / 475.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1532, allocations: 23.66 kB / 475.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.1533, allocations: 4 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.1535, allocations: 326.8 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/0.1536, allocations: 39.91 kB / 475.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.1536, allocations: 36.05 kB / 475.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.984e-05/0.1537, allocations: 43.97 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1538, allocations: 3.938 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002148/0.154, allocations: 117.5 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.154, allocations: 4 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.154, allocations: 4 kB / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.154, allocations: 0 / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1541, allocations: 19.98 kB / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1542, allocations: 0 / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.1542, allocations: 12 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1542, allocations: 4 kB / 476.2 MB, free: 8.883 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 (8): * Single equations (assignments): 8 * 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 9.471e-05/0.1543, allocations: 129.7 kB / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.1544, allocations: 11.91 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.1547, allocations: 150.3 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1547, allocations: 0 / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1547, allocations: 0 / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1547, allocations: 0 / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.1552, allocations: 431.2 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1552, allocations: 0 / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.021e-05/0.1553, allocations: 23.92 kB / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1553, allocations: 0 / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1553, allocations: 4 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1553, allocations: 0 / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1553, allocations: 0 / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.1556, allocations: 224.7 kB / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.1556, allocations: 92.92 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1556, allocations: 0 / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.1557, allocations: 7.984 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.1558, allocations: 11.98 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1558, allocations: 7.953 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1559, allocations: 163.2 kB / 477.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1559, allocations: 0 / 477.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.1562, allocations: 20 kB / 477.4 MB, free: 7.52 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 (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001006/0.1572, allocations: 467.2 kB / 477.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.1574, allocations: 75.95 kB / 477.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1574, allocations: 0 / 477.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.497e-05/0.1575, allocations: 51.91 kB / 478 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1578, allocations: 16 kB / 478 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.1584, allocations: 278.4 kB / 478.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1586, allocations: 0.7082 MB / 479 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.948e-05/0.1587, allocations: 16.66 kB / 479 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.1588, allocations: 23.36 kB / 479 MB, free: 6.016 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1588, allocations: 7.938 kB / 479 MB, free: 6.008 MB / 350.1 MB Notification: Performance of Templates: time 0.004096/0.1629, allocations: 1.253 MB / 480.3 MB, free: 4.762 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches