Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 101.4 kB / 16.64 MB, free: 6.82 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.00123/0.00123, allocations: 194.5 kB / 17.56 MB, free: 5.938 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.386/1.386, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.2161/0.2161, allocations: 43.51 MB / 314.3 MB, free: 0.7148 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.001642/0.001642, allocations: 64.72 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1148, allocations: 57.78 MB / 440.7 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003269/0.1181, allocations: 1.666 MB / 442.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1194, allocations: 0.9454 MB / 443.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.435e-05/0.1195, allocations: 0 / 443.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.1198, allocations: 23.91 kB / 443.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.12, allocations: 35.86 kB / 443.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.1204, allocations: 143.3 kB / 443.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.1206, allocations: 75.7 kB / 443.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1208, allocations: 19.92 kB / 443.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.1208, allocations: 23.92 kB / 443.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.121, allocations: 39.77 kB / 443.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.121, allocations: 4 kB / 443.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.1212, allocations: 51.98 kB / 443.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.1212, allocations: 19.92 kB / 443.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.1213, allocations: 23.86 kB / 443.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1215, allocations: 71.83 kB / 443.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1215, allocations: 0 / 443.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1215, allocations: 4 kB / 443.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1215, allocations: 0 / 443.8 MB, free: 4.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004844/0.122, allocations: 387.2 kB / 444.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.1221, allocations: 11.89 kB / 444.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.1221, allocations: 16.83 kB / 444.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.1223, allocations: 192.2 kB / 444.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1223, allocations: 4.375 kB / 444.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1223, allocations: 384 / 444.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.1225, allocations: 75.52 kB / 444.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1225, allocations: 4 kB / 444.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1226, allocations: 0 / 444.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1226, allocations: 4 kB / 444.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.1227, allocations: 39.95 kB / 444.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.1231, allocations: 304.6 kB / 444.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1232, allocations: 50.55 kB / 444.9 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.1233, allocations: 32.88 kB / 444.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1233, allocations: 0 / 444.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.1234, allocations: 34.56 kB / 444.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1234, allocations: 0 / 444.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007239/0.1241, allocations: 217.4 kB / 445.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.1241, allocations: 85.05 kB / 445.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.1243, allocations: 133.7 kB / 445.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1243, allocations: 29.7 kB / 445.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.1243, allocations: 96.06 kB / 445.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1243, allocations: 19.72 kB / 445.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.1244, allocations: 21.7 kB / 445.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.1244, allocations: 326.8 kB / 445.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1246, allocations: 39.95 kB / 445.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.1247, allocations: 49.69 kB / 445.9 MB, free: 1.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.1249, allocations: 88.83 kB / 446 MB, free: 1.777 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1249, allocations: 0 / 446 MB, free: 1.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002503/0.1251, allocations: 125.5 kB / 446.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1252, allocations: 11.94 kB / 446.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1252, allocations: 4 kB / 446.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1252, allocations: 0 / 446.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1253, allocations: 19.98 kB / 446.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1253, allocations: 4 kB / 446.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.1254, allocations: 11.92 kB / 446.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1254, allocations: 4 kB / 446.2 MB, free: 1.594 MB / 318.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 (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 6.552e-05/0.1255, allocations: 121.8 kB / 446.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.1255, allocations: 7.906 kB / 446.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.1258, allocations: 150.2 kB / 446.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1258, allocations: 0 / 446.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1258, allocations: 0 / 446.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1258, allocations: 3.938 kB / 446.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.1263, allocations: 406.5 kB / 446.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1263, allocations: 0 / 446.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.1264, allocations: 23.92 kB / 446.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1264, allocations: 4 kB / 446.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1264, allocations: 7.938 kB / 446.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1264, allocations: 3.938 kB / 446.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1264, allocations: 0 / 446.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.1267, allocations: 219.4 kB / 447.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.1267, allocations: 85.3 kB / 447.2 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1267, allocations: 3.938 kB / 447.2 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.1268, allocations: 7.984 kB / 447.2 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.1269, allocations: 11.97 kB / 447.2 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.1269, allocations: 8 kB / 447.2 MB, free: 452 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.806e-05/0.127, allocations: 106.7 kB / 447.3 MB, free: 348 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.127, allocations: 0 / 447.3 MB, free: 348 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1273, allocations: 24 kB / 447.4 MB, free: 324 kB / 318.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 (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.001033/0.1283, allocations: 436.7 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003337/0.1287, allocations: 95.92 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1287, allocations: 7.938 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1288, allocations: 47.91 kB / 447.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1292, allocations: 23.92 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.1296, allocations: 235.9 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.13, allocations: 0.6963 MB / 448.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.711e-05/0.1301, allocations: 23.42 kB / 448.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1301, allocations: 0 / 448.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of Templates: time 0.004039/0.1341, allocations: 1.808 MB / 450.7 MB, free: 12.97 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches