Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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 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 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 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 104.6 kB / 16.27 MB, free: 6 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.001366/0.001366, allocations: 186 kB / 17.19 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3582/0.3582, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 68.41 kB / 382.7 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1217, allocations: 57.78 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002973/0.1247, allocations: 1.562 MB / 442.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006007/0.1253, allocations: 335.5 kB / 442.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.471e-05/0.1254, allocations: 4 kB / 442.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004971/0.1259, allocations: 455.1 kB / 442.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.1263, allocations: 247.5 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.1266, allocations: 139.4 kB / 443.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1268, allocations: 159.8 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.1269, allocations: 16.28 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.981e-05/0.127, allocations: 111.7 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.1272, allocations: 207.6 kB / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1272, allocations: 0 / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.1273, allocations: 20 kB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.1274, allocations: 91.67 kB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.652e-05/0.1274, allocations: 95 kB / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.1277, allocations: 243 kB / 444.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1277, allocations: 0 / 444.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1277, allocations: 0 / 444.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1277, allocations: 0 / 444.2 MB, free: 3.258 MB / 318.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.0005185/0.1282, allocations: 0.6258 MB / 444.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1282, allocations: 11.89 kB / 444.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.1283, allocations: 40.47 kB / 444.8 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.1285, allocations: 300.1 kB / 445.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.1285, allocations: 4.375 kB / 445.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.1285, allocations: 384 / 445.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1287, allocations: 57.8 kB / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1287, allocations: 0 / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1287, allocations: 0 / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1287, allocations: 0 / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.1288, allocations: 27.92 kB / 445.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.1292, allocations: 384.7 kB / 445.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.1293, allocations: 38.55 kB / 445.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.1293, allocations: 20.92 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1294, allocations: 0 / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.1294, allocations: 38.48 kB / 445.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1294, allocations: 4 kB / 445.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002437/0.1297, allocations: 97.22 kB / 445.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.1297, allocations: 55.39 kB / 445.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.1302, allocations: 0.8574 MB / 446.7 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/0.1303, allocations: 25.7 kB / 446.7 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1304, allocations: 216.1 kB / 446.9 MB, free: 284 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.1304, allocations: 11.89 kB / 446.9 MB, free: 272 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.1304, allocations: 17.84 kB / 447 MB, free: 248 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1306, allocations: 358.7 kB / 447.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.772e-05/0.1306, allocations: 15.98 kB / 447.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.808e-05/0.1307, allocations: 8 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.984e-05/0.1307, allocations: 32.77 kB / 447.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1307, allocations: 0 / 447.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000151/0.1309, allocations: 93.19 kB / 447.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1309, allocations: 8 kB / 447.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1309, allocations: 0 / 447.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.131, allocations: 0 / 447.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/0.131, allocations: 4 kB / 447.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.131, allocations: 0 / 447.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.1311, allocations: 11.92 kB / 447.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.1311, allocations: 4 kB / 447.5 MB, free: 15.7 MB / 334.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 (2): * Single equations (assignments): 2 * 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.0001833/0.1313, allocations: 213.7 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.1314, allocations: 43.47 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.1316, allocations: 112.6 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1316, allocations: 0 / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1316, allocations: 0 / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1316, allocations: 0 / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.1319, allocations: 285.5 kB / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1319, allocations: 0 / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.1319, allocations: 4 kB / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1319, allocations: 0 / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.1319, allocations: 4.031 kB / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1319, allocations: 0 / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/0.132, allocations: 4 kB / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1321, allocations: 190.9 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.1322, allocations: 108.5 kB / 448.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.1323, allocations: 4 kB / 448.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.1323, allocations: 7.922 kB / 448.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.1324, allocations: 4.031 kB / 448.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.1324, allocations: 3.938 kB / 448.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005782/0.133, allocations: 0.6511 MB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.133, allocations: 0 / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1333, allocations: 16 kB / 449.1 MB, free: 13.97 MB / 334.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 (2): * Single equations (assignments): 2 * 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.0009155/0.1342, allocations: 355.4 kB / 449.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1344, allocations: 23.98 kB / 449.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1344, allocations: 0 / 449.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.609e-05/0.1344, allocations: 15.92 kB / 449.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.1349, allocations: 25.95 kB / 449.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1359, allocations: 0.7712 MB / 450.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.1363, allocations: 0.8259 MB / 451.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.366e-05/0.1364, allocations: 11.98 kB / 451.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.1364, allocations: 11.42 kB / 451.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1364, allocations: 0 / 451.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of Templates: time 0.004798/0.1412, allocations: 1.272 MB / 452.4 MB, free: 10.71 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches