Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.001156, allocations: 97.39 kB / 17 MB, free: 6.043 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.001276/0.001276, allocations: 181.8 kB / 17.89 MB, free: 5.641 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.447/1.447, allocations: 223.3 MB / 241.9 MB, free: 328 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.2088/0.2088, allocations: 44.24 MB / 337.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 11.98 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1496, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.001852/0.1515, allocations: 1.27 MB / 472.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006695/0.1521, allocations: 387.5 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.1522, allocations: 0 / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.1525, allocations: 99.78 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.1526, allocations: 71.84 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.1529, allocations: 103.4 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.1531, allocations: 59.83 kB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.1532, allocations: 16.17 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.848e-05/0.1533, allocations: 39.83 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.812e-05/0.1534, allocations: 47.88 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1534, allocations: 0 / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.864e-05/0.1535, allocations: 43.92 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.1535, allocations: 23.92 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.1536, allocations: 29.7 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.1537, allocations: 87.75 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1537, allocations: 0 / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1537, allocations: 0 / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1537, allocations: 0 / 473.9 MB, free: 11.43 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.0004496/0.1542, allocations: 403.1 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1542, allocations: 8.562 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.1543, allocations: 15.91 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.1545, allocations: 206.8 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1545, allocations: 7.938 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1545, allocations: 4 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1547, allocations: 57.56 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1547, allocations: 8 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1547, allocations: 0 / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1547, allocations: 0 / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1548, allocations: 35.97 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.1552, allocations: 300.8 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.1554, allocations: 50.48 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.1554, allocations: 24.86 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1555, allocations: 0 / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1555, allocations: 34.64 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1555, allocations: 0 / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00086/0.1564, allocations: 281 kB / 475.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.1564, allocations: 51.41 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.1566, allocations: 242.7 kB / 475.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1566, allocations: 25.7 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.1567, allocations: 108 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.1568, allocations: 23.66 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.1568, allocations: 0 / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1569, allocations: 330.8 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.157, allocations: 35.97 kB / 476.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.1571, allocations: 35.92 kB / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.141e-05/0.1572, allocations: 43.97 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1572, allocations: 0 / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002203/0.1574, allocations: 129.5 kB / 476.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.1574, allocations: 4 kB / 476.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1575, allocations: 0 / 476.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1575, allocations: 0 / 476.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1576, allocations: 19.98 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1576, allocations: 0 / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.1577, allocations: 12 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1577, allocations: 4 kB / 476.3 MB, free: 8.754 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.0001098/0.1578, allocations: 137.7 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.1578, allocations: 11.91 kB / 476.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.1581, allocations: 142.9 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1581, allocations: 0 / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1581, allocations: 0 / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1581, allocations: 0 / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005232/0.1587, allocations: 435.2 kB / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1587, allocations: 4 kB / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.1588, allocations: 19.92 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1588, allocations: 7.938 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.1588, allocations: 0 / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1588, allocations: 0 / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1588, allocations: 480 / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1591, allocations: 232.1 kB / 477.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.1591, allocations: 85.02 kB / 477.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1592, allocations: 7.938 kB / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.1592, allocations: 15.98 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.1593, allocations: 4 kB / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1593, allocations: 3.953 kB / 477.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.1595, allocations: 188.3 kB / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1595, allocations: 4 kB / 477.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1597, allocations: 19.98 kB / 477.6 MB, free: 7.355 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.001012/0.1607, allocations: 456.5 kB / 478 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.161, allocations: 79.94 kB / 478.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.161, allocations: 4 kB / 478.1 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.172e-05/0.1611, allocations: 43.92 kB / 478.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1614, allocations: 19.3 kB / 478.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.1619, allocations: 314 kB / 478.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.1622, allocations: 0.716 MB / 479.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.042e-05/0.1623, allocations: 24.95 kB / 479.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.1623, allocations: 11.44 kB / 479.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1623, allocations: 0 / 479.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of Templates: time 0.003871/0.1662, allocations: 1.29 MB / 480.5 MB, free: 4.543 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches