Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 187 kB / 16.64 MB, free: 5.133 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.431/1.431, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.0009255/0.0009255, allocations: 104.1 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.3954/0.3954, allocations: 43.49 MB / 360.7 MB, free: 51.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 51.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1301, allocations: 57.77 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003508/0.1337, allocations: 1.675 MB / 488.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000794/0.1345, allocations: 347.7 kB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.1346, allocations: 0 / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.1352, allocations: 459.1 kB / 489.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.1356, allocations: 247.5 kB / 489.7 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.136, allocations: 131.8 kB / 489.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.1364, allocations: 167.7 kB / 490 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.1366, allocations: 40.08 kB / 490 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.1368, allocations: 103.7 kB / 490.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.1371, allocations: 199.6 kB / 490.3 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.1371, allocations: 4 kB / 490.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.1372, allocations: 35.92 kB / 490.4 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1373, allocations: 87.67 kB / 490.5 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.752e-05/0.1374, allocations: 103 kB / 490.6 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.1377, allocations: 243 kB / 490.8 MB, free: 8.738 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1377, allocations: 4 kB / 490.8 MB, free: 8.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1377, allocations: 0 / 490.8 MB, free: 8.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1377, allocations: 0 / 490.8 MB, free: 8.734 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007737/0.1385, allocations: 0.6414 MB / 491.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1385, allocations: 15.97 kB / 491.5 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.1386, allocations: 44.38 kB / 491.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1389, allocations: 296.2 kB / 491.8 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.139, allocations: 384 / 491.8 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.139, allocations: 4.375 kB / 491.8 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1392, allocations: 61.8 kB / 491.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.1392, allocations: 3.984 kB / 491.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1392, allocations: 0 / 491.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1392, allocations: 0 / 491.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.1394, allocations: 43.97 kB / 491.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.14, allocations: 400.7 kB / 492.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1401, allocations: 50.55 kB / 492.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.1402, allocations: 28.94 kB / 492.4 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1402, allocations: 0 / 492.4 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.1403, allocations: 30.56 kB / 492.4 MB, free: 6.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1403, allocations: 0 / 492.4 MB, free: 6.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009044/0.1412, allocations: 307.8 kB / 492.7 MB, free: 6.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1412, allocations: 51.41 kB / 492.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008868/0.1421, allocations: 0.8573 MB / 493.6 MB, free: 5.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1422, allocations: 29.7 kB / 493.6 MB, free: 5.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.1424, allocations: 212 kB / 493.9 MB, free: 5.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.1424, allocations: 23.73 kB / 493.9 MB, free: 5.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.1425, allocations: 29.69 kB / 493.9 MB, free: 5.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1426, allocations: 362.7 kB / 494.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.1428, allocations: 35.97 kB / 494.3 MB, free: 5.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.1429, allocations: 43.95 kB / 494.3 MB, free: 4.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.1432, allocations: 84.73 kB / 494.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1432, allocations: 0 / 494.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003778/0.1436, allocations: 161.3 kB / 494.6 MB, free: 4.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1436, allocations: 4 kB / 494.6 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.1437, allocations: 4 kB / 494.6 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1437, allocations: 11.86 kB / 494.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1438, allocations: 19.98 kB / 494.6 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1439, allocations: 4 kB / 494.6 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.823e-05/0.144, allocations: 11.94 kB / 494.6 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.144, allocations: 3.984 kB / 494.6 MB, free: 4.676 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 (7): * Single equations (assignments): 7 * 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.0002242/0.1442, allocations: 217.8 kB / 494.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.1443, allocations: 35.53 kB / 494.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.1447, allocations: 189.3 kB / 495.1 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1448, allocations: 0 / 495.1 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.1448, allocations: 4 kB / 495.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1448, allocations: 3.938 kB / 495.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/0.1456, allocations: 0.4945 MB / 495.6 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1456, allocations: 4 kB / 495.6 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.1457, allocations: 15.98 kB / 495.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1457, allocations: 0 / 495.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1457, allocations: 11.94 kB / 495.6 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1457, allocations: 3.938 kB / 495.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1457, allocations: 0 / 495.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000963/0.1467, allocations: 0.9377 MB / 496.5 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.185e-05/0.1468, allocations: 108.9 kB / 496.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1468, allocations: 0 / 496.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1469, allocations: 7.984 kB / 496.7 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.147, allocations: 11.98 kB / 496.7 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.147, allocations: 4 kB / 496.7 MB, free: 2.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005826/0.1476, allocations: 0.6433 MB / 497.3 MB, free: 1.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1476, allocations: 0 / 497.3 MB, free: 1.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003617/0.148, allocations: 28 kB / 497.3 MB, free: 1.816 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 (7): * Single equations (assignments): 7 * 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.0008849/0.1489, allocations: 409.9 kB / 497.7 MB, free: 1.457 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.1492, allocations: 87.88 kB / 497.8 MB, free: 1.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1492, allocations: 0 / 497.8 MB, free: 1.371 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.1493, allocations: 51.95 kB / 497.9 MB, free: 1.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.1498, allocations: 25.91 kB / 497.9 MB, free: 1.297 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.1514, allocations: 1.019 MB / 498.9 MB, free: 244 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.152, allocations: 0.834 MB / 499.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.743e-05/0.1521, allocations: 20.28 kB / 499.8 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.1522, allocations: 19.44 kB / 499.8 MB, free: 15.34 MB / 394.7 MB Notification: Performance of SimCode: time 4.2e-07/0.1522, allocations: 3.938 kB / 499.8 MB, free: 15.34 MB / 394.7 MB Notification: Performance of Templates: time 0.005161/0.1573, allocations: 1.518 MB / 0.4896 GB, free: 13.82 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches