Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001145/0.001145, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.323/1.323, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.2007/0.2007, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 60.66 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1325, allocations: 60.83 MB / 469.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002988/0.1356, allocations: 1.557 MB / 470.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007183/0.1363, allocations: 407.2 kB / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.1364, allocations: 0 / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.1366, allocations: 31.83 kB / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.1368, allocations: 35.8 kB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1371, allocations: 110.7 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1372, allocations: 55.84 kB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.814e-05/0.1373, allocations: 19.92 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.1374, allocations: 19.92 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.1374, allocations: 15.88 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1374, allocations: 4 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.1375, allocations: 27.98 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.1376, allocations: 27.91 kB / 471.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.1376, allocations: 23.81 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.1378, allocations: 75.8 kB / 471.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1378, allocations: 0 / 471.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1378, allocations: 0 / 471.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1378, allocations: 0 / 471.6 MB, free: 11.95 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004229/0.1382, allocations: 391.4 kB / 472 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1383, allocations: 8.031 kB / 472 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.1383, allocations: 8.844 kB / 472 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.1385, allocations: 199.1 kB / 472.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.1385, allocations: 384 / 472.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.1386, allocations: 4.375 kB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.1387, allocations: 49.81 kB / 472.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1387, allocations: 4 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1387, allocations: 0 / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1387, allocations: 3.938 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1389, allocations: 27.91 kB / 472.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.1393, allocations: 284.8 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.1395, allocations: 46.55 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.1396, allocations: 20.94 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1396, allocations: 0 / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1396, allocations: 34.56 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.1396, allocations: 3.938 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005719/0.1402, allocations: 145.3 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.1403, allocations: 51.41 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1404, allocations: 165.8 kB / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1404, allocations: 29.7 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.1405, allocations: 96.12 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1405, allocations: 23.66 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.1406, allocations: 17.72 kB / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1407, allocations: 330.7 kB / 473.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.778e-05/0.1407, allocations: 19.98 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.1408, allocations: 19.98 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1409, allocations: 49.02 kB / 473.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.141, allocations: 8 kB / 473.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001859/0.1411, allocations: 89.56 kB / 473.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1412, allocations: 4 kB / 473.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1412, allocations: 0 / 473.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1412, allocations: 3.938 kB / 473.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.1413, allocations: 15.98 kB / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1413, allocations: 3.984 kB / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.1413, allocations: 4 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1413, allocations: 4 kB / 473.8 MB, free: 9.609 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 (5): * Single equations (assignments): 5 * 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 8.298e-05/0.1414, allocations: 125.8 kB / 473.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.1415, allocations: 7.906 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.1417, allocations: 89.97 kB / 474 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1417, allocations: 7.984 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1417, allocations: 0 / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1417, allocations: 3.938 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.1421, allocations: 354.5 kB / 474.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1421, allocations: 7.922 kB / 474.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/0.1422, allocations: 12 kB / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1422, allocations: 0 / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1422, allocations: 4 kB / 474.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1422, allocations: 3.938 kB / 474.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1422, allocations: 0 / 474.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.1425, allocations: 187.5 kB / 474.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.1425, allocations: 85.08 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1426, allocations: 4 kB / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.1426, allocations: 11.92 kB / 474.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.1427, allocations: 4 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.1427, allocations: 0 / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.455e-05/0.1428, allocations: 133.7 kB / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1428, allocations: 0 / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000228/0.143, allocations: 15.98 kB / 474.8 MB, free: 8.469 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008526/0.1439, allocations: 407.1 kB / 475.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1441, allocations: 51.91 kB / 475.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.1441, allocations: 0 / 475.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/0.1442, allocations: 32.05 kB / 475.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1445, allocations: 19.98 kB / 475.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.145, allocations: 190.2 kB / 475.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1452, allocations: 0.7041 MB / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.971e-05/0.1453, allocations: 11.98 kB / 476.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.1453, allocations: 15.38 kB / 476.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1453, allocations: 0 / 476.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of Templates: time 0.00326/0.1486, allocations: 1.105 MB / 477.3 MB, free: 6.051 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches