Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008323/0.0008323, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003764/0.003764, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9266/0.9266, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2461/0.2461, allocations: 32.79 MB / 294.2 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 3.938 kB / 440.9 MB, free: 3.715 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.412e-05, allocations: 6.281 kB / 440.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001812/0.001826, allocations: 1.644 MB / 442.5 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006251/0.002451, allocations: 0.5374 MB / 443.1 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.0025, allocations: 0 / 443.1 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.002733, allocations: 107.5 kB / 443.2 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.002971, allocations: 107.5 kB / 443.3 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.003172, allocations: 95.69 kB / 443.4 MB, free: 1.203 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.003311, allocations: 95.73 kB / 443.4 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.788e-05/0.003399, allocations: 27.97 kB / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.003465, allocations: 51.83 kB / 443.5 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.498e-05/0.00355, allocations: 59.86 kB / 443.6 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.003564, allocations: 4 kB / 443.6 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.284e-05/0.003647, allocations: 47.91 kB / 443.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.003692, allocations: 27.92 kB / 443.7 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.003721, allocations: 27.84 kB / 443.7 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.003868, allocations: 119.6 kB / 443.8 MB, free: 0.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.00387, allocations: 0 / 443.8 MB, free: 0.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003871, allocations: 0 / 443.8 MB, free: 0.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.003874, allocations: 3.938 kB / 443.8 MB, free: 0.7461 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003344/0.004209, allocations: 369.4 kB / 444.2 MB, free: 364 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.004238, allocations: 8.031 kB / 444.2 MB, free: 356 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.00427, allocations: 12.84 kB / 444.2 MB, free: 344 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.004395, allocations: 149.5 kB / 444.3 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.004405, allocations: 8.375 kB / 444.3 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.004425, allocations: 4.375 kB / 444.4 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.004537, allocations: 66.23 kB / 444.4 MB, free: 84 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.004546, allocations: 4.125 kB / 444.4 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.004555, allocations: 4.125 kB / 444.4 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.004559, allocations: 0 / 444.4 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.667e-05/0.004636, allocations: 47.95 kB / 444.5 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1607/0.1653, allocations: 261.1 kB / 444.7 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1654, allocations: 63.64 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.1655, allocations: 22.36 kB / 444.8 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1655, allocations: 2.688 kB / 444.8 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.1655, allocations: 38.25 kB / 444.8 MB, free: 46.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.1655, allocations: 0 / 444.8 MB, free: 46.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006461/0.1661, allocations: 307 kB / 445.1 MB, free: 46.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.1662, allocations: 54.47 kB / 445.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1663, allocations: 236.7 kB / 445.4 MB, free: 46.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.1663, allocations: 28.98 kB / 445.5 MB, free: 46.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.1663, allocations: 111.4 kB / 445.6 MB, free: 46.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1664, allocations: 49.41 kB / 445.6 MB, free: 46.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.1664, allocations: 26.19 kB / 445.6 MB, free: 46.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.692e-05/0.1664, allocations: 338.2 kB / 446 MB, free: 45.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.904e-05/0.1665, allocations: 34.84 kB / 446 MB, free: 45.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-05/0.1665, allocations: 37.61 kB / 446 MB, free: 45.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.431e-05/0.1666, allocations: 93.02 kB / 446.1 MB, free: 45.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1666, allocations: 0 / 446.1 MB, free: 45.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001286/0.1668, allocations: 144.5 kB / 446.3 MB, free: 45.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1668, allocations: 5.281 kB / 446.3 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1668, allocations: 0 / 446.3 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1668, allocations: 6.594 kB / 446.3 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.1669, allocations: 23.62 kB / 446.3 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1669, allocations: 3.75 kB / 446.3 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.1669, allocations: 6.312 kB / 446.3 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1669, allocations: 3.703 kB / 446.3 MB, free: 45.75 MB / 410.7 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 (13): * Single equations (assignments): 13 * 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 5.201e-05/0.167, allocations: 140.5 kB / 446.5 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.167, allocations: 16.38 kB / 446.5 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.1672, allocations: 167.8 kB / 446.6 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1672, allocations: 1.562 kB / 446.6 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1672, allocations: 2.656 kB / 446.6 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1672, allocations: 3.281 kB / 446.7 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.1675, allocations: 400 kB / 447 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1675, allocations: 10.06 kB / 447.1 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.1675, allocations: 30.28 kB / 447.1 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1675, allocations: 0 / 447.1 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1675, allocations: 6.781 kB / 447.1 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1675, allocations: 2.656 kB / 447.1 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1675, allocations: 3.938 kB / 447.1 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.1677, allocations: 241.6 kB / 447.3 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.1677, allocations: 17.22 kB / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.1677, allocations: 3.125 kB / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.1677, allocations: 9.125 kB / 447.4 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.1677, allocations: 19.52 kB / 447.4 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1678, allocations: 5.344 kB / 447.4 MB, free: 45.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.384e-05/0.1678, allocations: 184.3 kB / 447.6 MB, free: 44.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1678, allocations: 0 / 447.6 MB, free: 44.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001756/0.168, allocations: 26.17 kB / 447.6 MB, free: 44.94 MB / 410.7 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 (13): * Single equations (assignments): 13 * 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.0007115/0.1687, allocations: 492 kB / 448.1 MB, free: 44.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.1689, allocations: 92.7 kB / 448.2 MB, free: 44.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.1689, allocations: 0 / 448.2 MB, free: 44.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.918e-05/0.1689, allocations: 54.67 kB / 448.2 MB, free: 44.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.1692, allocations: 19.97 kB / 448.2 MB, free: 44.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.1695, allocations: 342.6 kB / 448.6 MB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.446e-05/0.1696, allocations: 114 kB / 448.7 MB, free: 44.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.1696, allocations: 21.16 kB / 448.7 MB, free: 44.44 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1696, allocations: 4.062 kB / 448.7 MB, free: 44.43 MB / 410.7 MB Notification: Performance of Templates: time 0.002227/0.1719, allocations: 2.139 MB / 450.8 MB, free: 44.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.963542168028653]