Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000779/0.0007787, allocations: 98.98 kB / 17 MB, free: 6.391 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.0008111/0.0008112, allocations: 184.2 kB / 17.89 MB, free: 5.922 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.498/1.498, allocations: 223.3 MB / 241.9 MB, free: 292 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.2407/0.2407, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003358, allocations: 11.98 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1499, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.001862/0.1518, allocations: 1.259 MB / 472.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007465/0.1526, allocations: 371.7 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.1527, allocations: 4 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.1529, allocations: 23.91 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.153, allocations: 27.92 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.1533, allocations: 95.56 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1535, allocations: 47.84 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1536, allocations: 15.98 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.1537, allocations: 23.86 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.1537, allocations: 7.938 kB / 473.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1538, allocations: 4 kB / 473.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-05/0.1538, allocations: 31.92 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.1539, allocations: 15.97 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.1539, allocations: 29.64 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.154, allocations: 51.92 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1541, allocations: 0 / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1541, allocations: 0 / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1541, allocations: 8 kB / 473.6 MB, free: 11.67 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004377/0.1545, allocations: 381.5 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1546, allocations: 12.56 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.1546, allocations: 3.906 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1548, allocations: 179 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1548, allocations: 7.938 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.1548, allocations: 3.953 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.155, allocations: 53.67 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.155, allocations: 4 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.155, allocations: 0 / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.155, allocations: 0 / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.1552, allocations: 23.98 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.1556, allocations: 288.9 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1558, allocations: 50.5 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.1559, allocations: 20.94 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1559, allocations: 0 / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1559, allocations: 34.56 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1559, allocations: 4 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005426/0.1565, allocations: 161.2 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.1565, allocations: 55.41 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1567, allocations: 156.5 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1567, allocations: 25.7 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.1567, allocations: 96.12 kB / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.1568, allocations: 19.72 kB / 475.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1568, allocations: 0 / 475.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1569, allocations: 322.8 kB / 475.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-05/0.157, allocations: 31.92 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-05/0.1571, allocations: 23.98 kB / 475.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.626e-05/0.1572, allocations: 27.92 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1572, allocations: 0 / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001808/0.1574, allocations: 97.56 kB / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1574, allocations: 8 kB / 475.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1574, allocations: 288 / 475.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1574, allocations: 0 / 475.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.1575, allocations: 15.98 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1575, allocations: 0 / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.1575, allocations: 8 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1575, allocations: 4 kB / 475.7 MB, free: 9.379 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 (5): * Single equations (assignments): 5 * 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 8.504e-05/0.1576, allocations: 125.7 kB / 475.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.1577, allocations: 15.89 kB / 475.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.1579, allocations: 110.1 kB / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1579, allocations: 8 kB / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1579, allocations: 0 / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1579, allocations: 3.938 kB / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.1584, allocations: 362.5 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1584, allocations: 0 / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.1585, allocations: 19.98 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1585, allocations: 0 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.1585, allocations: 0 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1585, allocations: 0 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1585, allocations: 0 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.1587, allocations: 195.4 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.1588, allocations: 85.02 kB / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1588, allocations: 4 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.1589, allocations: 7.984 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.1589, allocations: 0 / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1589, allocations: 4 kB / 476.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.004e-05/0.159, allocations: 125.4 kB / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.159, allocations: 4 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.1592, allocations: 16 kB / 476.7 MB, free: 8.211 MB / 350.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 (5): * Single equations (assignments): 5 * 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.0008825/0.1601, allocations: 407.2 kB / 477.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.1603, allocations: 59.95 kB / 477.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1603, allocations: 4 kB / 477.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.999e-05/0.1604, allocations: 31.92 kB / 477.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.1607, allocations: 19.94 kB / 477.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.1611, allocations: 192.6 kB / 477.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.1614, allocations: 0.7004 MB / 478.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.27e-05/0.1614, allocations: 7.984 kB / 478.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.1615, allocations: 15.44 kB / 478.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1615, allocations: 3.938 kB / 478.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of Templates: time 0.003677/0.1652, allocations: 1.024 MB / 479.2 MB, free: 5.859 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches