Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 110.5 kB / 17.04 MB, free: 5.359 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.002373/0.002373, allocations: 193.5 kB / 17.98 MB, free: 4.898 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.703/1.703, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2344/0.2344, allocations: 43.52 MB / 314.7 MB, free: 484 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.00161/0.00161, allocations: 67.61 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1485, allocations: 57.78 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.004169/0.1527, allocations: 1.552 MB / 443.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008348/0.1536, allocations: 323.5 kB / 443.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1537, allocations: 0 / 443.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.1542, allocations: 79.7 kB / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.1544, allocations: 67.8 kB / 444 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.1548, allocations: 95.67 kB / 444.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.155, allocations: 63.89 kB / 444.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.1552, allocations: 19.92 kB / 444.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.354e-05/0.1552, allocations: 31.84 kB / 444.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1554, allocations: 51.89 kB / 444.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1554, allocations: 4 kB / 444.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.532e-05/0.1555, allocations: 23.98 kB / 444.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.1556, allocations: 23.86 kB / 444.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.1556, allocations: 31.75 kB / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.1558, allocations: 87.7 kB / 444.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1558, allocations: 0 / 444.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1559, allocations: 4 kB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.1559, allocations: 0 / 444.4 MB, free: 3.691 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005105/0.1564, allocations: 399 kB / 444.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.1564, allocations: 11.89 kB / 444.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.1565, allocations: 8.844 kB / 444.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.1567, allocations: 201.2 kB / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1567, allocations: 384 / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1568, allocations: 8.312 kB / 445 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1569, allocations: 45.81 kB / 445.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1569, allocations: 4 kB / 445.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1569, allocations: 4 kB / 445.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.157, allocations: 0 / 445.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.666e-05/0.157, allocations: 27.97 kB / 445.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.1575, allocations: 280.9 kB / 445.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.1578, allocations: 50.48 kB / 445.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.1578, allocations: 16.8 kB / 445.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.1579, allocations: 4 kB / 445.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1579, allocations: 38.64 kB / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.1579, allocations: 0 / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006284/0.1585, allocations: 153.1 kB / 445.6 MB, free: 2.297 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.1586, allocations: 51.41 kB / 445.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1588, allocations: 206.2 kB / 445.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.1588, allocations: 29.7 kB / 445.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.1588, allocations: 100.1 kB / 446 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1589, allocations: 23.66 kB / 446 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.1589, allocations: 21.7 kB / 446.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.159, allocations: 326.8 kB / 446.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.1591, allocations: 19.98 kB / 446.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.1591, allocations: 19.98 kB / 446.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.1592, allocations: 64.89 kB / 446.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1593, allocations: 0 / 446.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001654/0.1594, allocations: 85.56 kB / 446.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1594, allocations: 5.25 kB / 446.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1595, allocations: 0 / 446.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1595, allocations: 4 kB / 446.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.1596, allocations: 11.98 kB / 446.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1596, allocations: 4 kB / 446.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.1596, allocations: 8 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.1596, allocations: 0 / 446.6 MB, free: 1.281 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.365e-05/0.1597, allocations: 137.6 kB / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.1598, allocations: 8.188 kB / 446.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.16, allocations: 93.97 kB / 446.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.16, allocations: 7.969 kB / 446.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.16, allocations: 4 kB / 446.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.16, allocations: 4 kB / 446.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.1604, allocations: 362.4 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1604, allocations: 0 / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.1604, allocations: 8 kB / 447.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1605, allocations: 3.984 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1605, allocations: 192 / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1605, allocations: 15.88 kB / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1605, allocations: 4 kB / 447.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.1607, allocations: 179.3 kB / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.1607, allocations: 85 kB / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1608, allocations: 4 kB / 447.5 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.1608, allocations: 11.88 kB / 447.5 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.1609, allocations: 7.984 kB / 447.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1609, allocations: 4 kB / 447.5 MB, free: 264 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.161, allocations: 155.2 kB / 447.7 MB, free: 108 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.161, allocations: 0 / 447.7 MB, free: 108 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1613, allocations: 16 kB / 447.7 MB, free: 92 kB / 318.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 (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.0009965/0.1623, allocations: 402.2 kB / 448.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1625, allocations: 43.97 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1625, allocations: 4 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.124e-05/0.1626, allocations: 35.91 kB / 448.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.163, allocations: 15.94 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.1635, allocations: 218.1 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1638, allocations: 0.7002 MB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.695e-05/0.1639, allocations: 23.91 kB / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.1639, allocations: 11.44 kB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1639, allocations: 0 / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of Templates: time 0.004394/0.1683, allocations: 1.137 MB / 450.3 MB, free: 13.55 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches