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.001308/0.001308, allocations: 105.9 kB / 17.21 MB, free: 6.27 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.001131/0.001131, allocations: 194 kB / 18.12 MB, free: 5.363 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.423/1.423, allocations: 222.9 MB / 241.8 MB, free: 15.56 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.2317/0.2317, allocations: 44.17 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 64.05 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1428, allocations: 60.82 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003839/0.1467, allocations: 1.636 MB / 470.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008613/0.1476, allocations: 419.3 kB / 470.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.1477, allocations: 0 / 470.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.148, allocations: 71.83 kB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.1482, allocations: 55.81 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.1486, allocations: 103.8 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.1488, allocations: 71.81 kB / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.149, allocations: 16.19 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.497e-05/0.149, allocations: 35.78 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1492, allocations: 51.81 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1492, allocations: 4 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1493, allocations: 40 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.485e-05/0.1494, allocations: 23.91 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.1495, allocations: 31.8 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.1497, allocations: 91.98 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1497, allocations: 0 / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1497, allocations: 0 / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1497, allocations: 0 / 471.2 MB, free: 12.22 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.000543/0.1502, allocations: 411 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1503, allocations: 8.031 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.1504, allocations: 16.83 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1506, allocations: 192.1 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1506, allocations: 4.375 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.1506, allocations: 384 / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1508, allocations: 61.61 kB / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1508, allocations: 0 / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1508, allocations: 0 / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1508, allocations: 0 / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1509, allocations: 35.91 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.1514, allocations: 304.7 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1515, allocations: 38.56 kB / 472.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.1516, allocations: 20.94 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1516, allocations: 0 / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1516, allocations: 42.5 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1517, allocations: 0 / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009238/0.1526, allocations: 237 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.1526, allocations: 51.41 kB / 472.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.1529, allocations: 218.1 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1529, allocations: 25.7 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.1529, allocations: 108 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.153, allocations: 27.72 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.153, allocations: 25.64 kB / 472.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1532, allocations: 326.8 kB / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.1533, allocations: 23.98 kB / 473.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.1534, allocations: 35.97 kB / 473.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1535, allocations: 68.83 kB / 473.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1535, allocations: 4 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002226/0.1538, allocations: 113.8 kB / 473.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1538, allocations: 11.94 kB / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1538, allocations: 0 / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1538, allocations: 0 / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.1539, allocations: 19.98 kB / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1539, allocations: 7.938 kB / 473.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.154, allocations: 4 kB / 473.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.154, allocations: 4 kB / 473.5 MB, free: 9.598 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.1541, allocations: 126.4 kB / 473.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.1542, allocations: 15.89 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.1545, allocations: 126.3 kB / 473.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1545, allocations: 8 kB / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1545, allocations: 7.922 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1545, allocations: 0 / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.155, allocations: 411.6 kB / 474.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.155, allocations: 0 / 474.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.1551, allocations: 19.92 kB / 474.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1551, allocations: 4.031 kB / 474.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1551, allocations: 8 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1551, allocations: 0 / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1552, allocations: 3.938 kB / 474.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.1554, allocations: 216.3 kB / 474.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.1555, allocations: 88.95 kB / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.1555, allocations: 8 kB / 474.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.1556, allocations: 4 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.1557, allocations: 7.984 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.1557, allocations: 4 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.1558, allocations: 155.2 kB / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.864e-06/0.1558, allocations: 0 / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1561, allocations: 19.94 kB / 474.8 MB, free: 8.277 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 (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.001193/0.1573, allocations: 458.3 kB / 475.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.1575, allocations: 67.94 kB / 475.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1576, allocations: 4 kB / 475.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.582e-05/0.1577, allocations: 47.91 kB / 475.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.1581, allocations: 28.25 kB / 475.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.1586, allocations: 280.9 kB / 475.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1589, allocations: 0.7082 MB / 476.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.671e-05/0.159, allocations: 20.95 kB / 476.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.159, allocations: 15.44 kB / 476.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.159, allocations: 0 / 476.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of Templates: time 0.004142/0.1632, allocations: 1.312 MB / 477.7 MB, free: 5.484 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