Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001182/0.001182, allocations: 192 kB / 18.56 MB, free: 4.434 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.278/1.278, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2095/0.2095, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 69.14 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1192, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003546/0.1227, allocations: 1.631 MB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000871/0.1236, allocations: 455.1 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.1237, allocations: 0 / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.1243, allocations: 447.1 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.1247, allocations: 259.4 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.1252, allocations: 174.5 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.1255, allocations: 167.6 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.1257, allocations: 23.97 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.1258, allocations: 99.8 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.1262, allocations: 215.6 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.1262, allocations: 4 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.1264, allocations: 55.91 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1265, allocations: 87.62 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1266, allocations: 103 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.1269, allocations: 267.2 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1269, allocations: 0 / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.127, allocations: 4 kB / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.127, allocations: 0 / 473.2 MB, free: 10.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000753/0.1277, allocations: 0.6337 MB / 473.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1278, allocations: 12.02 kB / 473.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.606e-05/0.1279, allocations: 44.38 kB / 473.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1282, allocations: 300.1 kB / 474.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1282, allocations: 4.375 kB / 474.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.1282, allocations: 384 / 474.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1284, allocations: 69.8 kB / 474.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.1284, allocations: 8 kB / 474.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1284, allocations: 0 / 474.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1285, allocations: 3.984 kB / 474.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1286, allocations: 35.92 kB / 474.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.1291, allocations: 396.6 kB / 474.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.1293, allocations: 54.59 kB / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.1293, allocations: 20.94 kB / 474.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1294, allocations: 0 / 474.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.1294, allocations: 30.56 kB / 474.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.1294, allocations: 0 / 474.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009924/0.1304, allocations: 319.8 kB / 475.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.1305, allocations: 55.34 kB / 475.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007756/0.1312, allocations: 0.8613 MB / 476 MB, free: 7.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1313, allocations: 29.64 kB / 476 MB, free: 7.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.1314, allocations: 224 kB / 476.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1315, allocations: 23.66 kB / 476.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.1315, allocations: 25.7 kB / 476.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1317, allocations: 358.8 kB / 476.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-05/0.1318, allocations: 35.97 kB / 476.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.1319, allocations: 31.98 kB / 476.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.132, allocations: 72.81 kB / 476.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.132, allocations: 0 / 476.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002447/0.1323, allocations: 153.1 kB / 476.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1323, allocations: 11.38 kB / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1323, allocations: 0 / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1323, allocations: 0 / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1325, allocations: 19.98 kB / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1325, allocations: 7.875 kB / 477 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/0.1325, allocations: 11.98 kB / 477 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1325, allocations: 0 / 477 MB, free: 6.379 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 (8): * Single equations (assignments): 8 * 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.0002197/0.1328, allocations: 217.8 kB / 477.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.1328, allocations: 43.44 kB / 477.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.1332, allocations: 165.4 kB / 477.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1332, allocations: 0 / 477.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1332, allocations: 3.938 kB / 477.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1332, allocations: 0 / 477.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007009/0.1339, allocations: 0.5149 MB / 477.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1339, allocations: 3.938 kB / 477.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.914e-05/0.134, allocations: 23.92 kB / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.134, allocations: 0 / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.134, allocations: 4 kB / 478 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.134, allocations: 0 / 478 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.134, allocations: 8.031 kB / 478 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.1343, allocations: 244.2 kB / 478.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.1344, allocations: 116.5 kB / 478.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.1344, allocations: 0 / 478.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.791e-05/0.1345, allocations: 11.98 kB / 478.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.1346, allocations: 12.36 kB / 478.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1346, allocations: 7.938 kB / 478.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007039/0.1353, allocations: 0.6511 MB / 479 MB, free: 4.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1353, allocations: 0 / 479 MB, free: 4.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1356, allocations: 28 kB / 479 MB, free: 4.227 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001051/0.1366, allocations: 460 kB / 479.5 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.1369, allocations: 75.89 kB / 479.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1369, allocations: 0 / 479.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.137, allocations: 43.97 kB / 479.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.1375, allocations: 37.53 kB / 479.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1388, allocations: 0.8352 MB / 480.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.1394, allocations: 0.8299 MB / 481.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.499e-05/0.1395, allocations: 24.72 kB / 481.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.1396, allocations: 15.44 kB / 481.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of SimCode: time 1.903e-06/0.1396, allocations: 0 / 481.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of Templates: time 0.005724/0.1453, allocations: 1.729 MB / 483.1 MB, free: 324 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches