Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 97.64 kB / 17 MB, free: 6.109 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.001178/0.001178, allocations: 181.5 kB / 17.89 MB, free: 5.691 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.577/1.577, allocations: 223.3 MB / 241.9 MB, free: 320 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.2056/0.2056, allocations: 44.26 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 9.875 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1419, allocations: 61.94 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002307/0.1442, allocations: 1.326 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007463/0.145, allocations: 391.6 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.1451, allocations: 0 / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.1453, allocations: 67.83 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.1455, allocations: 51.83 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.1459, allocations: 119.3 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.146, allocations: 63.83 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1462, allocations: 15.97 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.377e-05/0.1462, allocations: 35.84 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.1464, allocations: 39.83 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1464, allocations: 0 / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1465, allocations: 43.98 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.535e-05/0.1466, allocations: 19.92 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.1467, allocations: 41.64 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.1468, allocations: 79.86 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1469, allocations: 3.938 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1469, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.1469, allocations: 0 / 473.9 MB, free: 11.39 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.0007186/0.1476, allocations: 399.3 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.1477, allocations: 16.55 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.1477, allocations: 23.75 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.148, allocations: 182.9 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.148, allocations: 4 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1481, allocations: 0 / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.1483, allocations: 77.56 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1483, allocations: 3.984 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1483, allocations: 3.984 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1484, allocations: 4 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.1485, allocations: 43.97 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.149, allocations: 312.7 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.1493, allocations: 58.56 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.1494, allocations: 28.97 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.1495, allocations: 0 / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1495, allocations: 38.64 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.1495, allocations: 3.938 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001573/0.1511, allocations: 464.8 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1511, allocations: 55.41 kB / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.1514, allocations: 202.1 kB / 475.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1514, allocations: 29.7 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.1515, allocations: 108 kB / 475.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.1515, allocations: 35.45 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.1516, allocations: 0 / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1517, allocations: 326.8 kB / 476.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1519, allocations: 51.91 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.152, allocations: 51.97 kB / 476.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1521, allocations: 51.98 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1521, allocations: 0 / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003178/0.1525, allocations: 165.7 kB / 476.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1525, allocations: 4 kB / 476.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1525, allocations: 0 / 476.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1525, allocations: 3.938 kB / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1526, allocations: 31.92 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.1526, allocations: 0 / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.1527, allocations: 24.55 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1527, allocations: 7.953 kB / 476.6 MB, free: 8.422 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.0001161/0.1529, allocations: 129.8 kB / 476.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.1529, allocations: 15.81 kB / 476.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.1533, allocations: 174.3 kB / 476.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1533, allocations: 4 kB / 477 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1533, allocations: 0 / 477 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1533, allocations: 0 / 477 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007017/0.154, allocations: 492 kB / 477.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.154, allocations: 0 / 477.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.1541, allocations: 31.98 kB / 477.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.1542, allocations: 0 / 477.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1542, allocations: 7.922 kB / 477.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1542, allocations: 7.953 kB / 477.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1542, allocations: 3.938 kB / 477.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.1546, allocations: 265.1 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.1547, allocations: 89 kB / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.1547, allocations: 4 kB / 477.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.1548, allocations: 15.98 kB / 477.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.1549, allocations: 11.94 kB / 477.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1549, allocations: 8 kB / 477.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.155, allocations: 159.2 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1551, allocations: 0 / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.1554, allocations: 20 kB / 478 MB, free: 6.895 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.001256/0.1566, allocations: 472 kB / 478.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.157, allocations: 115.9 kB / 478.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.157, allocations: 4 kB / 478.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.1571, allocations: 67.89 kB / 478.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1575, allocations: 19.98 kB / 478.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.158, allocations: 311.4 kB / 479 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1583, allocations: 0.716 MB / 479.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.38e-05/0.1584, allocations: 8.438 kB / 479.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.1584, allocations: 19.42 kB / 479.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of SimCode: time 1.472e-06/0.1585, allocations: 0 / 479.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of Templates: time 0.00426/0.1627, allocations: 1.408 MB / 481.2 MB, free: 3.902 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches