Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.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.CombiTable1D.Test11,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.CombiTable1D.Test11") translateModel(ModelicaTest.Tables.CombiTable1D.Test11,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.CombiTable1D.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, 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.395/1.395, 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.00101/0.00101, allocations: 99.94 kB / 269.9 MB, free: 8.43 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.3415/0.3415, allocations: 43.5 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 51.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1246, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.00274/0.1273, allocations: 1.613 MB / 488.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005709/0.1279, allocations: 331.5 kB / 489 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.128, allocations: 0 / 489 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.1282, allocations: 19.92 kB / 489 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.1283, allocations: 35.91 kB / 489 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.1286, allocations: 75.84 kB / 489.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1287, allocations: 55.84 kB / 489.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.1288, allocations: 15.95 kB / 489.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.46e-05/0.1288, allocations: 19.88 kB / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.1289, allocations: 19.92 kB / 489.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1289, allocations: 4 kB / 489.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.129, allocations: 31.98 kB / 489.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.494e-05/0.129, allocations: 19.91 kB / 489.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.1291, allocations: 19.81 kB / 489.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1292, allocations: 83.95 kB / 489.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1292, allocations: 0 / 489.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1292, allocations: 0 / 489.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1292, allocations: 0 / 489.3 MB, free: 10.19 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.000395/0.1296, allocations: 387.1 kB / 489.7 MB, free: 9.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1297, allocations: 12.03 kB / 489.7 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.1297, allocations: 8.844 kB / 489.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.1299, allocations: 192.2 kB / 489.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1299, allocations: 384 / 489.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1299, allocations: 4.375 kB / 489.9 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.13, allocations: 53.81 kB / 490 MB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.1301, allocations: 3.938 kB / 490 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1301, allocations: 0 / 490 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1301, allocations: 0 / 490 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.779e-05/0.1302, allocations: 27.97 kB / 490 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.1305, allocations: 284.8 kB / 490.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.1307, allocations: 50.5 kB / 490.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.1308, allocations: 16.94 kB / 490.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1308, allocations: 0 / 490.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1308, allocations: 34.56 kB / 490.4 MB, free: 8.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1308, allocations: 0 / 490.4 MB, free: 8.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005067/0.1314, allocations: 149.3 kB / 490.5 MB, free: 8.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.1314, allocations: 51.41 kB / 490.6 MB, free: 8.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1315, allocations: 169.7 kB / 490.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1316, allocations: 29.7 kB / 490.8 MB, free: 8.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.1316, allocations: 92.14 kB / 490.9 MB, free: 8.453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.1316, allocations: 23.73 kB / 490.9 MB, free: 8.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.1317, allocations: 13.72 kB / 490.9 MB, free: 8.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.1318, allocations: 326.8 kB / 491.2 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.172e-05/0.1319, allocations: 23.92 kB / 491.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.886e-05/0.1319, allocations: 24.05 kB / 491.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1321, allocations: 52.83 kB / 491.3 MB, free: 7.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1321, allocations: 0 / 491.3 MB, free: 7.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001701/0.1322, allocations: 97.44 kB / 491.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1323, allocations: 4 kB / 491.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1323, allocations: 0 / 491.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1323, allocations: 0 / 491.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.1324, allocations: 15.98 kB / 491.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1324, allocations: 0 / 491.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.1324, allocations: 8 kB / 491.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.1324, allocations: 288 / 491.5 MB, free: 7.852 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 7.994e-05/0.1325, allocations: 129.8 kB / 491.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.1325, allocations: 7.906 kB / 491.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.1328, allocations: 97.89 kB / 491.7 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1328, allocations: 4 kB / 491.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1328, allocations: 4 kB / 491.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1328, allocations: 3.984 kB / 491.7 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.1332, allocations: 354.8 kB / 492 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1332, allocations: 64 / 492 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.1333, allocations: 23.92 kB / 492.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1333, allocations: 0 / 492.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1333, allocations: 0 / 492.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1333, allocations: 3.938 kB / 492.1 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1333, allocations: 4 kB / 492.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.1338, allocations: 0.7667 MB / 492.8 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.1339, allocations: 81.02 kB / 492.9 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1339, allocations: 4 kB / 492.9 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.077e-05/0.1339, allocations: 4 kB / 492.9 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.134, allocations: 7.984 kB / 492.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.134, allocations: 0 / 492.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.815e-05/0.1341, allocations: 131.7 kB / 493.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1341, allocations: 0 / 493.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003099/0.1344, allocations: 16 kB / 493.1 MB, free: 6.078 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.0008138/0.1352, allocations: 405.9 kB / 493.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.1354, allocations: 55.91 kB / 493.5 MB, free: 5.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1354, allocations: 0 / 493.5 MB, free: 5.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.1355, allocations: 31.97 kB / 493.6 MB, free: 5.641 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.1358, allocations: 12.55 kB / 493.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.1363, allocations: 330.8 kB / 493.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1365, allocations: 0.7004 MB / 494.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.192e-05/0.1366, allocations: 15.97 kB / 494.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.1366, allocations: 15.38 kB / 494.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1366, allocations: 0 / 494.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of Templates: time 0.003065/0.1397, allocations: 1.073 MB / 495.7 MB, free: 3.43 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches