Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, 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.432/1.432, 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.001104/0.001103, allocations: 101.5 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.3386/0.3386, allocations: 43.49 MB / 360.7 MB, free: 51.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 55.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1184, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.002984/0.1214, allocations: 1.598 MB / 488.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005817/0.122, allocations: 343.5 kB / 488.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.1221, allocations: 0 / 488.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.1223, allocations: 23.91 kB / 489 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.1224, allocations: 31.92 kB / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.1226, allocations: 75.83 kB / 489.1 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1228, allocations: 51.91 kB / 489.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.058e-05/0.1228, allocations: 19.97 kB / 489.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.831e-05/0.1229, allocations: 23.81 kB / 489.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.1229, allocations: 23.91 kB / 489.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.123, allocations: 0 / 489.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.086e-05/0.123, allocations: 27.98 kB / 489.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.1231, allocations: 15.94 kB / 489.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.1231, allocations: 23.8 kB / 489.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1233, allocations: 80 kB / 489.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1233, allocations: 8 kB / 489.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1233, allocations: 0 / 489.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.1233, allocations: 0 / 489.3 MB, free: 10.2 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.0003871/0.1237, allocations: 387 kB / 489.7 MB, free: 9.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1237, allocations: 8.031 kB / 489.7 MB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.1238, allocations: 8.844 kB / 489.7 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.1239, allocations: 196.2 kB / 489.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1239, allocations: 384 / 489.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.124, allocations: 384 / 489.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1241, allocations: 57.81 kB / 490 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1241, allocations: 0 / 490 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1241, allocations: 0 / 490 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1241, allocations: 0 / 490 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.781e-05/0.1242, allocations: 27.92 kB / 490 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.1246, allocations: 292.7 kB / 490.3 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.1248, allocations: 42.56 kB / 490.3 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.1248, allocations: 20.94 kB / 490.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1248, allocations: 0 / 490.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1249, allocations: 38.5 kB / 490.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1249, allocations: 0 / 490.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005095/0.1254, allocations: 149.5 kB / 490.5 MB, free: 8.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.1254, allocations: 59.34 kB / 490.6 MB, free: 8.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1256, allocations: 165.7 kB / 490.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1256, allocations: 29.7 kB / 490.8 MB, free: 8.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.1256, allocations: 92.14 kB / 490.9 MB, free: 8.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.1257, allocations: 19.73 kB / 490.9 MB, free: 8.438 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.1257, allocations: 17.72 kB / 490.9 MB, free: 8.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.1258, allocations: 326.8 kB / 491.2 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.587e-05/0.1259, allocations: 19.98 kB / 491.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.937e-05/0.1259, allocations: 19.98 kB / 491.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1261, allocations: 52.83 kB / 491.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1261, allocations: 0 / 491.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001723/0.1263, allocations: 85.56 kB / 491.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1263, allocations: 15.94 kB / 491.4 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1263, allocations: 48 / 491.4 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1263, allocations: 7.922 kB / 491.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.1264, allocations: 11.98 kB / 491.4 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1264, allocations: 0 / 491.4 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.505e-05/0.1264, allocations: 4.25 kB / 491.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1264, allocations: 8 kB / 491.5 MB, free: 7.855 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.491e-05/0.1265, allocations: 125.8 kB / 491.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1266, allocations: 11.91 kB / 491.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.1268, allocations: 93.97 kB / 491.7 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1268, allocations: 3.938 kB / 491.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1268, allocations: 0 / 491.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1268, allocations: 0 / 491.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.1272, allocations: 354.5 kB / 492 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1272, allocations: 4 kB / 492 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-05/0.1273, allocations: 11.98 kB / 492.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1273, allocations: 0 / 492.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.567e-06/0.1273, allocations: 8 kB / 492.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1273, allocations: 3.938 kB / 492.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1273, allocations: 0 / 492.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.1278, allocations: 0.7589 MB / 492.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.1278, allocations: 92.94 kB / 492.9 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.1278, allocations: 4 kB / 492.9 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/0.1279, allocations: 7.938 kB / 492.9 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.1279, allocations: 7.984 kB / 492.9 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.128, allocations: 192 / 492.9 MB, free: 6.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.322e-05/0.128, allocations: 130.7 kB / 493.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.128, allocations: 0 / 493.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003107/0.1284, allocations: 16 kB / 493.1 MB, free: 6.09 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.0007314/0.1291, allocations: 406.3 kB / 493.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.1293, allocations: 51.97 kB / 493.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1293, allocations: 0 / 493.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.1294, allocations: 31.91 kB / 493.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.1297, allocations: 20.55 kB / 493.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.1301, allocations: 322.8 kB / 493.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.1303, allocations: 0.7004 MB / 494.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.139e-05/0.1304, allocations: 24.22 kB / 494.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.1304, allocations: 11.44 kB / 494.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1304, allocations: 0 / 494.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of Templates: time 0.002769/0.1332, allocations: 1.061 MB / 495.7 MB, free: 3.453 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches