Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 102.1 kB / 16.99 MB, free: 5.941 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.001569/0.001569, allocations: 182 kB / 17.87 MB, free: 5.609 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.543/1.543, allocations: 223.2 MB / 241.8 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003673, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1286, allocations: 61.93 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.001962/0.1306, allocations: 1.325 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007056/0.1314, allocations: 395.4 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.1314, allocations: 0 / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.1317, allocations: 39.89 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.1319, allocations: 51.81 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.1323, allocations: 150.2 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.1325, allocations: 51.86 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1326, allocations: 16 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.518e-05/0.1326, allocations: 23.92 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.1328, allocations: 35.83 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.1328, allocations: 4 kB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.763e-05/0.1329, allocations: 31.92 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.1329, allocations: 15.92 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.133, allocations: 37.64 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1331, allocations: 84.09 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1331, allocations: 4 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1331, allocations: 0 / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1332, allocations: 0 / 473.7 MB, free: 11.46 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.0005501/0.1337, allocations: 399 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1338, allocations: 8.562 kB / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.1338, allocations: 7.906 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.134, allocations: 191.5 kB / 474.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1341, allocations: 3.938 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1341, allocations: 12 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.1343, allocations: 69.61 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1343, allocations: 4 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1344, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1344, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.1345, allocations: 55.91 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.1351, allocations: 332.6 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.1354, allocations: 66.55 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1355, allocations: 0 / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1355, allocations: 42.59 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1355, allocations: 0 / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001658/0.1372, allocations: 485 kB / 475.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.1372, allocations: 55.41 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1374, allocations: 170.5 kB / 475.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1374, allocations: 29.64 kB / 475.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.1375, allocations: 112 kB / 475.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.1376, allocations: 35.45 kB / 475.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.1376, allocations: 4 kB / 475.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1377, allocations: 326.8 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.1379, allocations: 55.97 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.138, allocations: 72 kB / 476.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1382, allocations: 67.91 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1382, allocations: 4 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003619/0.1386, allocations: 177.5 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1386, allocations: 4 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1386, allocations: 4 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1386, allocations: 4 kB / 476.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1388, allocations: 27.98 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1388, allocations: 3.984 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.85e-05/0.1388, allocations: 12 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1389, allocations: 4 kB / 476.5 MB, free: 8.453 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.0001237/0.139, allocations: 137.7 kB / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.139, allocations: 11.91 kB / 476.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.1395, allocations: 206.1 kB / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1395, allocations: 0 / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1395, allocations: 0 / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1395, allocations: 0 / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007567/0.1403, allocations: 0.5123 MB / 477.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1403, allocations: 0 / 477.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1404, allocations: 32.05 kB / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1404, allocations: 4 kB / 477.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1404, allocations: 4 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1404, allocations: 3.938 kB / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1405, allocations: 7.953 kB / 477.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.1409, allocations: 312.4 kB / 477.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.141, allocations: 92.95 kB / 477.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.141, allocations: 8 kB / 477.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1411, allocations: 15.98 kB / 477.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.1412, allocations: 16.02 kB / 477.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.1412, allocations: 7.938 kB / 477.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1413, allocations: 129.5 kB / 478 MB, free: 6.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1413, allocations: 0 / 478 MB, free: 6.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1416, allocations: 31.98 kB / 478 MB, free: 6.812 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.00101/0.1426, allocations: 467.1 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003707/0.143, allocations: 139.9 kB / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.143, allocations: 0 / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.1432, allocations: 80.02 kB / 478.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1435, allocations: 19.92 kB / 478.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.1441, allocations: 299.2 kB / 479 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.1444, allocations: 0.7199 MB / 479.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.433e-05/0.1445, allocations: 36.39 kB / 479.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.1446, allocations: 15.44 kB / 479.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1446, allocations: 0 / 479.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of Templates: time 0.004315/0.1489, allocations: 1.497 MB / 481.3 MB, free: 3.691 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches