Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 183 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.405/1.405, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.0009933/0.0009933, allocations: 100.7 kB / 269.9 MB, free: 8.434 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.3277/0.3277, allocations: 43.5 MB / 360.7 MB, free: 51.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 51.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1192, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003139/0.1224, allocations: 1.663 MB / 488.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006631/0.1231, allocations: 343.6 kB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.1232, allocations: 4 kB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.1234, allocations: 59.84 kB / 489.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.1236, allocations: 59.8 kB / 489.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.124, allocations: 155.7 kB / 489.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.1242, allocations: 67.83 kB / 489.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.1243, allocations: 32.09 kB / 489.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.1243, allocations: 31.84 kB / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.1244, allocations: 55.81 kB / 489.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1244, allocations: 4 kB / 489.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.929e-05/0.1245, allocations: 24 kB / 489.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.1246, allocations: 23.91 kB / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.1246, allocations: 31.75 kB / 489.6 MB, free: 9.984 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1248, allocations: 95.64 kB / 489.6 MB, free: 9.891 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1248, allocations: 4 kB / 489.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1248, allocations: 0 / 489.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1248, allocations: 0 / 489.7 MB, free: 9.887 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.0004468/0.1253, allocations: 418.9 kB / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1253, allocations: 12.03 kB / 490.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.1254, allocations: 8.844 kB / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.1255, allocations: 196.1 kB / 490.3 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1255, allocations: 384 / 490.3 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1256, allocations: 4.375 kB / 490.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1257, allocations: 65.78 kB / 490.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1257, allocations: 0 / 490.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.1258, allocations: 0 / 490.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1258, allocations: 0 / 490.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1259, allocations: 51.89 kB / 490.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.1263, allocations: 308.7 kB / 490.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.1265, allocations: 42.56 kB / 490.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.428e-05/0.1265, allocations: 32.88 kB / 490.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1266, allocations: 7.984 kB / 490.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.1266, allocations: 34.5 kB / 490.8 MB, free: 8.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1266, allocations: 0 / 490.8 MB, free: 8.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007248/0.1273, allocations: 229.2 kB / 491 MB, free: 8.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1274, allocations: 55.39 kB / 491.1 MB, free: 8.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1276, allocations: 204.8 kB / 491.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1276, allocations: 25.7 kB / 491.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.1276, allocations: 112 kB / 491.4 MB, free: 7.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.1277, allocations: 15.72 kB / 491.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.1277, allocations: 25.72 kB / 491.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1278, allocations: 326.8 kB / 491.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1279, allocations: 39.95 kB / 491.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1281, allocations: 40.03 kB / 491.9 MB, free: 7.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.1283, allocations: 92.8 kB / 491.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1283, allocations: 0 / 491.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002675/0.1286, allocations: 121.5 kB / 492.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1286, allocations: 8 kB / 492.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1286, allocations: 4 kB / 492.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1286, allocations: 288 / 492.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1287, allocations: 19.98 kB / 492.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1287, allocations: 3.938 kB / 492.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.968e-05/0.1288, allocations: 15.92 kB / 492.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1288, allocations: 8 kB / 492.1 MB, free: 7.184 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 9.103e-05/0.1289, allocations: 129.8 kB / 492.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.129, allocations: 11.89 kB / 492.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.1293, allocations: 150.8 kB / 492.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1293, allocations: 4 kB / 492.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1293, allocations: 0 / 492.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1293, allocations: 3.938 kB / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.1299, allocations: 410.5 kB / 492.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1299, allocations: 0 / 492.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/0.13, allocations: 23.92 kB / 492.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.13, allocations: 0 / 492.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.13, allocations: 7.938 kB / 492.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.13, allocations: 0 / 492.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.13, allocations: 0 / 492.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.1307, allocations: 0.8296 MB / 493.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.1307, allocations: 81.02 kB / 493.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.1308, allocations: 0 / 493.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/0.1309, allocations: 15.98 kB / 493.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1309, allocations: 7.984 kB / 493.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1309, allocations: 3.938 kB / 493.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.131, allocations: 160.9 kB / 493.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.131, allocations: 4 kB / 493.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003621/0.1314, allocations: 23.91 kB / 494 MB, free: 5.188 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.0007904/0.1322, allocations: 401.1 kB / 494.4 MB, free: 4.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.1325, allocations: 99.83 kB / 494.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1325, allocations: 0 / 494.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1326, allocations: 47.97 kB / 494.5 MB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.133, allocations: 19.92 kB / 494.5 MB, free: 4.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.1335, allocations: 411.6 kB / 494.9 MB, free: 4.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.1337, allocations: 0.7198 MB / 495.6 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.494e-05/0.1338, allocations: 15.98 kB / 495.7 MB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.1339, allocations: 19.42 kB / 495.7 MB, free: 3.457 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1339, allocations: 4 kB / 495.7 MB, free: 3.453 MB / 378.7 MB Notification: Performance of Templates: time 0.003089/0.137, allocations: 1.225 MB / 496.9 MB, free: 2.23 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches