Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 97.25 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002124/0.002125, allocations: 169.1 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 222.7 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4317/0.4317, allocations: 43.57 MB / 314.6 MB, free: 8.727 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.0005565/0.0005568, allocations: 12 kB / 384 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.115, allocations: 58.86 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.001796/0.1168, allocations: 1.278 MB / 444.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000498/0.1173, allocations: 291.9 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.1174, allocations: 0 / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.1179, allocations: 439.2 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.1182, allocations: 231.6 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1184, allocations: 115.7 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.1186, allocations: 119.7 kB / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.632e-05/0.1187, allocations: 11.98 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.569e-05/0.1188, allocations: 99.78 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.119, allocations: 171.7 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.119, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.543e-05/0.1191, allocations: 15.98 kB / 445.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.228e-05/0.1192, allocations: 87.69 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.1192, allocations: 61.52 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.1194, allocations: 175.7 kB / 445.9 MB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1194, allocations: 0 / 445.9 MB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1194, allocations: 0 / 445.9 MB, free: 9.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1194, allocations: 0 / 445.9 MB, free: 9.953 MB / 382.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.0005899/0.12, allocations: 0.5951 MB / 446.5 MB, free: 9.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1201, allocations: 12.03 kB / 446.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.1201, allocations: 39.48 kB / 446.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1204, allocations: 271.3 kB / 446.8 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1204, allocations: 4 kB / 446.8 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1204, allocations: 4 kB / 446.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1205, allocations: 57.69 kB / 446.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1206, allocations: 0 / 446.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1206, allocations: 0 / 446.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1206, allocations: 0 / 446.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1207, allocations: 43.92 kB / 446.9 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1211, allocations: 380.7 kB / 447.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1212, allocations: 38.56 kB / 447.3 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/0.1213, allocations: 32.94 kB / 447.3 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1213, allocations: 3.984 kB / 447.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.1213, allocations: 30.56 kB / 447.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1214, allocations: 0 / 447.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000297/0.1217, allocations: 137.1 kB / 447.5 MB, free: 8.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.1217, allocations: 51.41 kB / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007431/0.1224, allocations: 0.8535 MB / 448.4 MB, free: 7.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.1225, allocations: 25.7 kB / 448.4 MB, free: 7.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.1226, allocations: 216 kB / 448.6 MB, free: 6.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.1226, allocations: 7.906 kB / 448.6 MB, free: 6.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.1227, allocations: 3.938 kB / 448.7 MB, free: 6.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1228, allocations: 362.8 kB / 449 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-05/0.1229, allocations: 23.98 kB / 449 MB, free: 6.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.805e-05/0.1229, allocations: 15.98 kB / 449 MB, free: 6.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.853e-05/0.123, allocations: 19.94 kB / 449.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.123, allocations: 0 / 449.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001728/0.1232, allocations: 113.2 kB / 449.2 MB, free: 6.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1232, allocations: 4 kB / 449.2 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1232, allocations: 3.938 kB / 449.2 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1232, allocations: 3.953 kB / 449.2 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.1233, allocations: 8 kB / 449.2 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1233, allocations: 4 kB / 449.2 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/0.1234, allocations: 19.83 kB / 449.2 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/0.1234, allocations: 0 / 449.2 MB, free: 6.387 MB / 382.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.1236, allocations: 213.8 kB / 449.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.1236, allocations: 35.53 kB / 449.5 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.1239, allocations: 133 kB / 449.6 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1239, allocations: 3.953 kB / 449.6 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1239, allocations: 0 / 449.6 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1239, allocations: 0 / 449.6 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.1242, allocations: 281.6 kB / 449.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1242, allocations: 4 kB / 449.9 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.996e-05/0.1243, allocations: 11.94 kB / 449.9 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1243, allocations: 3.984 kB / 449.9 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1243, allocations: 0 / 449.9 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1243, allocations: 4 kB / 449.9 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1243, allocations: 3.953 kB / 449.9 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1245, allocations: 203 kB / 450.1 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.1246, allocations: 108.6 kB / 450.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.1247, allocations: 8 kB / 450.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.1247, allocations: 4 kB / 450.2 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.1248, allocations: 3.984 kB / 450.2 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1248, allocations: 12.38 kB / 450.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006043/0.1254, allocations: 0.6433 MB / 450.9 MB, free: 4.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1254, allocations: 0 / 450.9 MB, free: 4.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1257, allocations: 20 kB / 450.9 MB, free: 4.609 MB / 382.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008205/0.1265, allocations: 352.7 kB / 451.2 MB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.1267, allocations: 43.97 kB / 451.3 MB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1267, allocations: 0 / 451.3 MB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.523e-05/0.1268, allocations: 23.98 kB / 451.3 MB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1271, allocations: 21.95 kB / 451.3 MB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1282, allocations: 0.8021 MB / 452.1 MB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1285, allocations: 0.8224 MB / 452.9 MB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.707e-05/0.1286, allocations: 11.92 kB / 453 MB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.1286, allocations: 11.44 kB / 453 MB, free: 2.504 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1286, allocations: 0 / 453 MB, free: 2.504 MB / 382.1 MB Notification: Performance of Templates: time 0.004066/0.1327, allocations: 1.182 MB / 454.2 MB, free: 1.32 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches