Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 112.7 kB / 17.04 MB, free: 5.812 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: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.246/0.246, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 69.38 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.145, allocations: 57.78 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002694/0.1477, allocations: 1.606 MB / 443.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006751/0.1484, allocations: 351.5 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.1485, allocations: 4 kB / 443.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005992/0.1491, allocations: 455.1 kB / 444.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.1495, allocations: 255.4 kB / 444.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.1499, allocations: 151.3 kB / 444.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.1502, allocations: 171.6 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1503, allocations: 27.91 kB / 445 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1504, allocations: 103.8 kB / 445.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.1506, allocations: 215.6 kB / 445.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1507, allocations: 0 / 445.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-05/0.1508, allocations: 35.97 kB / 445.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.869e-05/0.1508, allocations: 83.69 kB / 445.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.731e-05/0.1509, allocations: 99 kB / 445.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.1512, allocations: 266.9 kB / 445.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1512, allocations: 4 kB / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1512, allocations: 0 / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1512, allocations: 0 / 445.7 MB, free: 2.371 MB / 318.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.0006518/0.1518, allocations: 0.6375 MB / 446.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1519, allocations: 11.89 kB / 446.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.1519, allocations: 48.38 kB / 446.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.1522, allocations: 292.1 kB / 446.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1522, allocations: 4.375 kB / 446.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.1522, allocations: 8.375 kB / 446.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1524, allocations: 61.8 kB / 446.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1524, allocations: 0 / 446.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1524, allocations: 7.984 kB / 446.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.1524, allocations: 0 / 446.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.1526, allocations: 43.89 kB / 446.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.153, allocations: 396.7 kB / 447.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1531, allocations: 50.55 kB / 447.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.1532, allocations: 28.88 kB / 447.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.1532, allocations: 0 / 447.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.1533, allocations: 34.5 kB / 447.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1533, allocations: 0 / 447.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007399/0.154, allocations: 311.9 kB / 447.7 MB, free: 296 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.1541, allocations: 51.41 kB / 447.7 MB, free: 232 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.1549, allocations: 0.8536 MB / 448.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1549, allocations: 29.7 kB / 448.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.1551, allocations: 220 kB / 448.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.1551, allocations: 19.59 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.1552, allocations: 25.7 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.1554, allocations: 366.7 kB / 449.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1555, allocations: 35.97 kB / 449.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1556, allocations: 48.02 kB / 449.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.1559, allocations: 84.8 kB / 449.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1559, allocations: 0 / 449.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003016/0.1562, allocations: 160.9 kB / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1562, allocations: 5.25 kB / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1562, allocations: 4 kB / 449.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1562, allocations: 0 / 449.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.1564, allocations: 23.97 kB / 449.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1564, allocations: 0 / 449.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.1565, allocations: 15.94 kB / 449.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.1565, allocations: 4 kB / 449.6 MB, free: 14.31 MB / 334.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.1567, allocations: 217.7 kB / 449.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.1568, allocations: 39.53 kB / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.1572, allocations: 181.4 kB / 450 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1572, allocations: 0 / 450 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1572, allocations: 3.984 kB / 450 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1572, allocations: 7.938 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006785/0.1579, allocations: 0.5023 MB / 450.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.1579, allocations: 0 / 450.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.964e-05/0.158, allocations: 23.92 kB / 450.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.158, allocations: 0 / 450.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.158, allocations: 3.938 kB / 450.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.158, allocations: 0 / 450.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.158, allocations: 0 / 450.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.1584, allocations: 251 kB / 450.8 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.441e-05/0.1585, allocations: 108.5 kB / 450.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.1585, allocations: 3.938 kB / 450.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1586, allocations: 15.98 kB / 450.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.1587, allocations: 11.92 kB / 450.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1587, allocations: 3.938 kB / 450.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006027/0.1593, allocations: 0.6472 MB / 451.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1593, allocations: 4 kB / 451.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1596, allocations: 20 kB / 451.6 MB, free: 12.17 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.1606, allocations: 408.8 kB / 452 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.1609, allocations: 95.89 kB / 452.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1609, allocations: 0 / 452.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.1611, allocations: 51.91 kB / 452.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.1615, allocations: 29.7 kB / 452.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1627, allocations: 0.8032 MB / 453 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.1632, allocations: 0.8309 MB / 453.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.946e-05/0.1633, allocations: 19.98 kB / 453.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.1633, allocations: 11.44 kB / 453.8 MB, free: 9.961 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1633, allocations: 4 kB / 453.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of Templates: time 0.005498/0.1688, allocations: 1.584 MB / 455.4 MB, free: 8.383 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches