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.001202/0.001202, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001386/0.001386, allocations: 187 kB / 19.34 MB, free: 3.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.375/1.375, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2136/0.2136, allocations: 44.17 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 62.75 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.154, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.00315/0.1572, allocations: 1.568 MB / 472.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007333/0.158, allocations: 423.1 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.158, allocations: 3.938 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.1583, allocations: 107.7 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1586, allocations: 75.78 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.1589, allocations: 107.7 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.1591, allocations: 79.86 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1592, allocations: 20.11 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.1592, allocations: 39.89 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1594, allocations: 67.81 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1594, allocations: 7.938 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.1595, allocations: 39.98 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.1596, allocations: 31.91 kB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.1596, allocations: 31.75 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1598, allocations: 111.6 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1598, allocations: 0 / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1598, allocations: 0 / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1599, allocations: 0 / 473.4 MB, free: 10.96 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.0005536/0.1604, allocations: 422.8 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1605, allocations: 12.03 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.1605, allocations: 12.75 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.1607, allocations: 204.1 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1607, allocations: 4.375 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.1608, allocations: 4.312 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1609, allocations: 57.61 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1609, allocations: 4 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1609, allocations: 3.938 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.161, allocations: 0 / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.664e-05/0.1611, allocations: 27.97 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.1615, allocations: 312.7 kB / 474.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1616, allocations: 38.56 kB / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.1616, allocations: 20.94 kB / 474.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1617, allocations: 4 kB / 474.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1617, allocations: 34.5 kB / 474.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1617, allocations: 4 kB / 474.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008578/0.1626, allocations: 244.9 kB / 474.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1626, allocations: 51.41 kB / 474.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.1628, allocations: 243.4 kB / 475.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1629, allocations: 29.7 kB / 475.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.163, allocations: 108.1 kB / 475.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.163, allocations: 31.62 kB / 475.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.163, allocations: 21.7 kB / 475.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1632, allocations: 326.8 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.1633, allocations: 27.98 kB / 475.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.1634, allocations: 27.97 kB / 475.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1635, allocations: 76.83 kB / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1635, allocations: 0 / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002081/0.1637, allocations: 113.5 kB / 475.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1638, allocations: 11.42 kB / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1638, allocations: 0 / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1638, allocations: 0 / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.1639, allocations: 16 kB / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1639, allocations: 7.922 kB / 475.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.164, allocations: 8 kB / 475.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.164, allocations: 432 / 475.9 MB, free: 8.273 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.965e-05/0.1641, allocations: 137.8 kB / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/0.1641, allocations: 11.81 kB / 476 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.1644, allocations: 139 kB / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.1644, allocations: 3.984 kB / 476.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1645, allocations: 3.938 kB / 476.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1645, allocations: 8 kB / 476.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.165, allocations: 419.6 kB / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.165, allocations: 0 / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.165, allocations: 23.92 kB / 476.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1651, allocations: 0 / 476.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1651, allocations: 0 / 476.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1651, allocations: 0 / 476.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1651, allocations: 11.97 kB / 476.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.1653, allocations: 212.3 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.1654, allocations: 92.86 kB / 476.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.1654, allocations: 7.984 kB / 476.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.1655, allocations: 8 kB / 476.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.1655, allocations: 11.98 kB / 476.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1656, allocations: 0 / 476.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.1657, allocations: 187.5 kB / 477.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1657, allocations: 0 / 477.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.166, allocations: 19.98 kB / 477.1 MB, free: 6.895 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 (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.001034/0.167, allocations: 462 kB / 477.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1672, allocations: 71.95 kB / 477.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1672, allocations: 0 / 477.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/0.1673, allocations: 39.92 kB / 477.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.1677, allocations: 19.98 kB / 477.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/0.1682, allocations: 294.8 kB / 478 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1685, allocations: 0.708 MB / 478.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.824e-05/0.1686, allocations: 24.94 kB / 478.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.1687, allocations: 23.44 kB / 478.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1687, allocations: 0 / 478.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of Templates: time 0.5845/0.7531, allocations: 1.378 MB / 480.1 MB, free: 4.02 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/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