Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001156, allocations: 187 kB / 16.63 MB, free: 5.137 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.353/1.353, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.0009698/0.0009697, allocations: 88.94 kB / 269.9 MB, free: 8.441 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.329/0.329, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000998/0.000998, allocations: 55.92 kB / 429.2 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1224, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003306/0.1258, allocations: 1.621 MB / 488.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000674/0.1265, allocations: 315.5 kB / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.1265, allocations: 0 / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1268, allocations: 15.92 kB / 489 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.127, allocations: 39.91 kB / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1273, allocations: 63.86 kB / 489.1 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.1274, allocations: 55.83 kB / 489.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1275, allocations: 15.98 kB / 489.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.1276, allocations: 27.8 kB / 489.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/0.1277, allocations: 11.92 kB / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1277, allocations: 4 kB / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-05/0.1278, allocations: 31.98 kB / 489.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.1279, allocations: 15.92 kB / 489.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.1279, allocations: 23.8 kB / 489.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1281, allocations: 76.02 kB / 489.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.1281, allocations: 0 / 489.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1281, allocations: 0 / 489.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1281, allocations: 0 / 489.3 MB, free: 10.21 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004763/0.1286, allocations: 395 kB / 489.7 MB, free: 9.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1286, allocations: 8.031 kB / 489.7 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.1287, allocations: 8.844 kB / 489.7 MB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1289, allocations: 192.2 kB / 489.9 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1289, allocations: 384 / 489.9 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1289, allocations: 4.375 kB / 489.9 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1291, allocations: 49.8 kB / 490 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1291, allocations: 4 kB / 490 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1291, allocations: 3.984 kB / 490 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1291, allocations: 0 / 490 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1292, allocations: 19.98 kB / 490 MB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.1297, allocations: 292.7 kB / 490.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.1299, allocations: 42.56 kB / 490.3 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.13, allocations: 16.94 kB / 490.3 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.13, allocations: 0 / 490.3 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.13, allocations: 34.56 kB / 490.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.426e-06/0.1301, allocations: 0 / 490.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006039/0.1307, allocations: 141.3 kB / 490.5 MB, free: 8.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1307, allocations: 51.41 kB / 490.5 MB, free: 8.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1309, allocations: 170.6 kB / 490.7 MB, free: 8.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1309, allocations: 25.7 kB / 490.7 MB, free: 8.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.131, allocations: 104.1 kB / 490.8 MB, free: 8.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.131, allocations: 15.75 kB / 490.9 MB, free: 8.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.1311, allocations: 17.72 kB / 490.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1312, allocations: 322.8 kB / 491.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.1313, allocations: 19.98 kB / 491.2 MB, free: 8.102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.1314, allocations: 15.98 kB / 491.2 MB, free: 8.086 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.1315, allocations: 48.83 kB / 491.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1315, allocations: 4 kB / 491.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002161/0.1318, allocations: 73.83 kB / 491.3 MB, free: 7.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1318, allocations: 11.88 kB / 491.4 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1318, allocations: 4 kB / 491.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1318, allocations: 4 kB / 491.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.1319, allocations: 15.92 kB / 491.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1319, allocations: 0 / 491.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.1319, allocations: 4 kB / 491.4 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.132, allocations: 4 kB / 491.4 MB, free: 7.91 MB / 378.7 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 9.793e-05/0.1321, allocations: 129.8 kB / 491.5 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.1321, allocations: 11.91 kB / 491.5 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.1323, allocations: 85.97 kB / 491.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1323, allocations: 0 / 491.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1323, allocations: 0 / 491.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1323, allocations: 0 / 491.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.1327, allocations: 354.4 kB / 492 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.1328, allocations: 4 kB / 492 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.1328, allocations: 11.98 kB / 492 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1328, allocations: 0 / 492 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.1328, allocations: 0 / 492 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1328, allocations: 3.938 kB / 492 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1328, allocations: 4 kB / 492 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.1333, allocations: 0.755 MB / 492.7 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.1334, allocations: 81.02 kB / 492.8 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1334, allocations: 4.188 kB / 492.8 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.319e-05/0.1335, allocations: 4 kB / 492.8 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.1335, allocations: 15.92 kB / 492.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.1335, allocations: 0 / 492.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.262e-05/0.1336, allocations: 134.7 kB / 493 MB, free: 6.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1336, allocations: 0 / 493 MB, free: 6.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003251/0.134, allocations: 16 kB / 493 MB, free: 6.164 MB / 378.7 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.0008182/0.1348, allocations: 402.1 kB / 493.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.135, allocations: 43.97 kB / 493.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.135, allocations: 0 / 493.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.284e-05/0.1351, allocations: 27.92 kB / 493.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1354, allocations: 23.92 kB / 493.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.1359, allocations: 319.1 kB / 493.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.1361, allocations: 0.6926 MB / 494.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.43e-05/0.1362, allocations: 11.98 kB / 494.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.1362, allocations: 15.42 kB / 494.5 MB, free: 4.621 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1362, allocations: 3.938 kB / 494.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of Templates: time 0.00311/0.1393, allocations: 1.046 MB / 495.6 MB, free: 3.57 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches