Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 96.89 kB / 16.99 MB, free: 6.402 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.00159/0.00159, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.451/1.451, allocations: 223.2 MB / 241.8 MB, free: 368 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.2211/0.2211, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 61.93 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002553/0.1404, allocations: 1.271 MB / 472.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007602/0.1412, allocations: 367.6 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.1413, allocations: 0 / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.1417, allocations: 71.78 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.1419, allocations: 59.84 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1421, allocations: 75.8 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.1423, allocations: 47.92 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1425, allocations: 8.188 kB / 473.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.1425, allocations: 35.83 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1427, allocations: 31.91 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1427, allocations: 0 / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.1428, allocations: 39.91 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.1429, allocations: 19.92 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.1429, allocations: 37.64 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1431, allocations: 67.91 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1431, allocations: 0 / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.1431, allocations: 0 / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1431, allocations: 0 / 473.6 MB, free: 11.62 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.0005668/0.1437, allocations: 395.2 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.1437, allocations: 12.5 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.1438, allocations: 11.91 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.1441, allocations: 190.9 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1441, allocations: 0 / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.1441, allocations: 7.938 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1443, allocations: 61.62 kB / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.1444, allocations: 7.906 kB / 474.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1444, allocations: 0 / 474.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1444, allocations: 0 / 474.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1445, allocations: 31.98 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.145, allocations: 292.8 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.1451, allocations: 42.56 kB / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.1452, allocations: 4.094 kB / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.1453, allocations: 38.55 kB / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1453, allocations: 0 / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001067/0.1464, allocations: 245 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.1465, allocations: 55.39 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.1467, allocations: 214.2 kB / 475.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1467, allocations: 29.64 kB / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.1468, allocations: 108 kB / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.1469, allocations: 19.66 kB / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.1469, allocations: 4 kB / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.147, allocations: 326.8 kB / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/0.1471, allocations: 27.98 kB / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.1472, allocations: 28.06 kB / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.553e-05/0.1473, allocations: 35.97 kB / 475.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1473, allocations: 0 / 475.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002008/0.1475, allocations: 117.4 kB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1475, allocations: 4 kB / 475.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1475, allocations: 0 / 475.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1475, allocations: 4.422 kB / 475.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1476, allocations: 15.98 kB / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1477, allocations: 4.312 kB / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.899e-05/0.1477, allocations: 4 kB / 475.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1477, allocations: 4 kB / 475.9 MB, free: 9.109 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.0001001/0.1478, allocations: 133.8 kB / 476 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.1479, allocations: 11.84 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.1481, allocations: 134.3 kB / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1481, allocations: 0 / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.1482, allocations: 8 kB / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1482, allocations: 0 / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.1486, allocations: 411.2 kB / 476.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1487, allocations: 4.031 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.1487, allocations: 19.98 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1487, allocations: 0 / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1487, allocations: 4 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1488, allocations: 0 / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1488, allocations: 0 / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.149, allocations: 233.9 kB / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.1491, allocations: 88.92 kB / 476.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1492, allocations: 4 kB / 476.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.1492, allocations: 7.984 kB / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.1493, allocations: 11.95 kB / 476.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1493, allocations: 8 kB / 476.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1494, allocations: 155.2 kB / 477.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1494, allocations: 0 / 477.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1497, allocations: 19.98 kB / 477.1 MB, free: 7.762 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.0009904/0.1507, allocations: 457.6 kB / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.1509, allocations: 75.89 kB / 477.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1509, allocations: 0 / 477.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.151, allocations: 43.98 kB / 477.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.1513, allocations: 19.98 kB / 477.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.1517, allocations: 254.7 kB / 477.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.1522, allocations: 0.7121 MB / 478.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.257e-05/0.1523, allocations: 12.66 kB / 478.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.1523, allocations: 15.42 kB / 478.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1523, allocations: 0 / 478.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of Templates: time 0.003852/0.1562, allocations: 1.232 MB / 479.9 MB, free: 5.078 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches