Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008299/0.0008295, allocations: 95.81 kB / 17 MB, free: 6.418 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.0008469/0.0008467, allocations: 190.3 kB / 17.89 MB, free: 5.945 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.553/1.553, allocations: 223.2 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2259/0.2259, allocations: 44.25 MB / 337.3 MB, free: 2.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 8 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002649/0.141, allocations: 1.278 MB / 472.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008269/0.1418, allocations: 387.6 kB / 473.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.838e-05/0.1419, allocations: 0 / 473.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.1423, allocations: 115.8 kB / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.1425, allocations: 83.77 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.1428, allocations: 87.88 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.143, allocations: 79.73 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1431, allocations: 12.19 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.1432, allocations: 43.88 kB / 473.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1433, allocations: 63.8 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1433, allocations: 0 / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.351e-05/0.1434, allocations: 35.98 kB / 473.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.1435, allocations: 23.92 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.1435, allocations: 37.64 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1437, allocations: 83.86 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1437, allocations: 7.938 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1437, allocations: 0 / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.1437, allocations: 4 kB / 473.9 MB, free: 11.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005258/0.1442, allocations: 415 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1443, allocations: 12.55 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.1443, allocations: 19.75 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.1445, allocations: 194.8 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1446, allocations: 0 / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.1446, allocations: 7.984 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1447, allocations: 61.64 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1448, allocations: 3.906 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.1448, allocations: 0 / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1448, allocations: 0 / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.404e-05/0.1449, allocations: 31.97 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.1453, allocations: 316.8 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1455, allocations: 46.56 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.1455, allocations: 16.94 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.1455, allocations: 8 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1456, allocations: 30.56 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.1456, allocations: 7.938 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001043/0.1466, allocations: 268.9 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.1467, allocations: 55.41 kB / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.147, allocations: 266.2 kB / 475.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.147, allocations: 25.7 kB / 475.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.1471, allocations: 116.1 kB / 475.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.1471, allocations: 27.64 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.1471, allocations: 0 / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1473, allocations: 330.8 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.1474, allocations: 27.98 kB / 476.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.497e-05/0.1475, allocations: 39.97 kB / 476.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.036e-05/0.1476, allocations: 39.92 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.1476, allocations: 0 / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002228/0.1478, allocations: 129.7 kB / 476.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1479, allocations: 8 kB / 476.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1479, allocations: 80 / 476.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1479, allocations: 0 / 476.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.148, allocations: 19.98 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.148, allocations: 3.984 kB / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.1481, allocations: 11.98 kB / 476.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1481, allocations: 432 / 476.4 MB, free: 8.664 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.1482, allocations: 137.8 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.1482, allocations: 19.81 kB / 476.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.1485, allocations: 146.9 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1485, allocations: 3.984 kB / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1486, allocations: 0 / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1486, allocations: 0 / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.1491, allocations: 443.2 kB / 477.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1491, allocations: 4 kB / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.472e-05/0.1492, allocations: 19.98 kB / 477.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1492, allocations: 4.031 kB / 477.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1492, allocations: 4 kB / 477.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1492, allocations: 0 / 477.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1492, allocations: 0 / 477.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.1495, allocations: 228.1 kB / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.1496, allocations: 89 kB / 477.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.1496, allocations: 4 kB / 477.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.1497, allocations: 8 kB / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.1497, allocations: 11.97 kB / 477.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1497, allocations: 3.953 kB / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.1499, allocations: 203.2 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1499, allocations: 0 / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1502, allocations: 28 kB / 477.7 MB, free: 7.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 (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.001148/0.1513, allocations: 452.6 kB / 478.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.1516, allocations: 87.89 kB / 478.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1516, allocations: 0 / 478.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.851e-05/0.1517, allocations: 52.05 kB / 478.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1521, allocations: 15.14 kB / 478.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.1527, allocations: 338.5 kB / 478.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.1532, allocations: 0.7199 MB / 479.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.328e-05/0.1532, allocations: 20.59 kB / 479.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.1533, allocations: 15.42 kB / 479.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1533, allocations: 0 / 479.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of Templates: time 0.004759/0.1581, allocations: 1.284 MB / 480.7 MB, free: 4.387 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches