Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 89.78 kB / 17 MB, free: 6.398 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.001147/0.001147, allocations: 178 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.433/1.433, allocations: 223.3 MB / 241.9 MB, free: 284 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.2053/0.2053, allocations: 44.25 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003139, allocations: 8 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002449/0.1416, allocations: 1.329 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007732/0.1424, allocations: 419.5 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.1425, allocations: 0 / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.1428, allocations: 71.83 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.143, allocations: 51.88 kB / 473.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.1434, allocations: 161.9 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.1436, allocations: 71.75 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1438, allocations: 19.97 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.004e-05/0.1438, allocations: 31.92 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.144, allocations: 43.83 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.144, allocations: 3.984 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.1441, allocations: 35.98 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.1441, allocations: 19.92 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.1442, allocations: 37.64 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.1444, allocations: 84.16 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1444, allocations: 0 / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1444, allocations: 0 / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1444, allocations: 3.938 kB / 474 MB, free: 11.3 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005632/0.145, allocations: 414.8 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.145, allocations: 8.562 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.1451, allocations: 11.81 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.1453, allocations: 190.9 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.1453, allocations: 4 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.1453, allocations: 4 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.1455, allocations: 81.55 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1456, allocations: 0 / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1456, allocations: 0 / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.1456, allocations: 7.984 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.1457, allocations: 47.97 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.1463, allocations: 340.6 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.1465, allocations: 62.55 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.1466, allocations: 32.97 kB / 475.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.1466, allocations: 0 / 475.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1467, allocations: 34.56 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.1467, allocations: 0 / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001491/0.1482, allocations: 492.9 kB / 475.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.1482, allocations: 55.39 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.1485, allocations: 215.2 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1485, allocations: 33.64 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.1486, allocations: 104.1 kB / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.1486, allocations: 31.47 kB / 476.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.1486, allocations: 4 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1488, allocations: 330.8 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1489, allocations: 55.97 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.149, allocations: 63.95 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1492, allocations: 64.3 kB / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1492, allocations: 4 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003437/0.1496, allocations: 181.4 kB / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1496, allocations: 12 kB / 476.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1496, allocations: 3.938 kB / 476.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1496, allocations: 0 / 476.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1497, allocations: 27.98 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1498, allocations: 3.984 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.1498, allocations: 15.94 kB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.1498, allocations: 7.953 kB / 476.8 MB, free: 8.191 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 (11): * Single equations (assignments): 11 * 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.00012/0.15, allocations: 137.8 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.15, allocations: 11.81 kB / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.1504, allocations: 202.9 kB / 477.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.1505, allocations: 4 kB / 477.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1505, allocations: 0 / 477.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1505, allocations: 0.5625 kB / 477.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008162/0.1513, allocations: 0.5233 MB / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1513, allocations: 0 / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1514, allocations: 36.05 kB / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1514, allocations: 4 kB / 477.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1515, allocations: 4 kB / 477.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1515, allocations: 3.953 kB / 477.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/0.1515, allocations: 7.984 kB / 477.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.1519, allocations: 277 kB / 478 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.152, allocations: 92.91 kB / 478.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.152, allocations: 0 / 478.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.1521, allocations: 23.98 kB / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.1522, allocations: 11.94 kB / 478.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.1522, allocations: 4 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1523, allocations: 155.9 kB / 478.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1523, allocations: 0 / 478.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.1526, allocations: 28 kB / 478.3 MB, free: 6.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001176/0.1538, allocations: 467.6 kB / 478.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003528/0.1542, allocations: 147.9 kB / 478.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1542, allocations: 3.938 kB / 479 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.1543, allocations: 76.02 kB / 479 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1547, allocations: 20 kB / 479 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.1553, allocations: 339.3 kB / 479.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.1557, allocations: 0.716 MB / 480.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.724e-05/0.1558, allocations: 36.39 kB / 480.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.1559, allocations: 11.44 kB / 480.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1559, allocations: 0 / 480.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of Templates: time 0.004246/0.1602, allocations: 1.479 MB / 481.6 MB, free: 3.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches