Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.0015/0.0015, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.00161/0.00161, allocations: 209.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.241/0.241, allocations: 44.94 MB / 358.9 MB, free: 6.027 MB / 286.1 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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 71.89 kB / 0.4935 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3688, allocations: 65.47 MB / 0.5575 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003401/0.3722, allocations: 1.596 MB / 0.559 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3733, allocations: 0.5504 MB / 0.5596 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.3734, allocations: 0 / 0.5596 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.3736, allocations: 31.78 kB / 0.5596 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.3739, allocations: 71.7 kB / 0.5597 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.3742, allocations: 123.1 kB / 0.5598 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.3744, allocations: 71.81 kB / 0.5598 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3745, allocations: 8 kB / 0.5599 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.071e-05/0.3746, allocations: 35.86 kB / 0.5599 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.3746, allocations: 31.83 kB / 0.5599 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3747, allocations: 4 kB / 0.5599 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.3749, allocations: 95.88 kB / 0.56 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.3749, allocations: 11.94 kB / 0.56 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.3749, allocations: 19.86 kB / 0.56 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.3752, allocations: 149.8 kB / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3752, allocations: 0 / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3752, allocations: 3.938 kB / 0.5602 GB, free: 4.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3752, allocations: 0 / 0.5602 GB, free: 4.668 MB / 398.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.0005397/0.3758, allocations: 325.7 kB / 0.5605 GB, free: 4.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3758, allocations: 16.03 kB / 0.5605 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.3759, allocations: 4.891 kB / 0.5605 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.3761, allocations: 149 kB / 0.5607 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3761, allocations: 384 / 0.5607 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.3761, allocations: 4.375 kB / 0.5607 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3763, allocations: 97.16 kB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3763, allocations: 0 / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3763, allocations: 4 kB / 0.5608 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3763, allocations: 0 / 0.5608 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.109e-05/0.3764, allocations: 19.98 kB / 0.5608 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.3769, allocations: 240.5 kB / 0.561 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.377, allocations: 58.42 kB / 0.5611 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.3771, allocations: 20.94 kB / 0.5611 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3771, allocations: 4 kB / 0.5611 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3771, allocations: 30.56 kB / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.3771, allocations: 0 / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006741/0.3778, allocations: 185.6 kB / 0.5613 GB, free: 3.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.3779, allocations: 81.11 kB / 0.5614 GB, free: 3.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.378, allocations: 149.5 kB / 0.5615 GB, free: 3.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.3781, allocations: 25.7 kB / 0.5615 GB, free: 3.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.3781, allocations: 96.12 kB / 0.5616 GB, free: 3.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.3782, allocations: 23.8 kB / 0.5617 GB, free: 3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.3782, allocations: 25.7 kB / 0.5617 GB, free: 2.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3784, allocations: 326.8 kB / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.3784, allocations: 31.97 kB / 0.562 GB, free: 2.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.3786, allocations: 75.39 kB / 0.5621 GB, free: 2.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.3787, allocations: 72.75 kB / 0.5622 GB, free: 2.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3787, allocations: 0 / 0.5622 GB, free: 2.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002325/0.379, allocations: 109.6 kB / 0.5623 GB, free: 2.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.379, allocations: 4 kB / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.379, allocations: 0 / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.379, allocations: 0 / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.3791, allocations: 24.02 kB / 0.5623 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3791, allocations: 0 / 0.5623 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.3792, allocations: 7.984 kB / 0.5623 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.3792, allocations: 7.938 kB / 0.5623 GB, free: 2.293 MB / 398.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 0.000104/0.3793, allocations: 125.8 kB / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.3793, allocations: 7.953 kB / 0.5624 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.3796, allocations: 110.3 kB / 0.5625 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3796, allocations: 7.938 kB / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3796, allocations: 4 kB / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3796, allocations: 3.984 kB / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.3801, allocations: 326.4 kB / 0.5629 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3801, allocations: 0 / 0.5629 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.948e-05/0.3802, allocations: 15.98 kB / 0.5629 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.3802, allocations: 4 kB / 0.5629 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3802, allocations: 11.88 kB / 0.5629 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3802, allocations: 0 / 0.5629 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3802, allocations: 4.016 kB / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.3805, allocations: 203.4 kB / 0.5631 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.3805, allocations: 15.94 kB / 0.5631 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3805, allocations: 0 / 0.5631 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.3806, allocations: 4 kB / 0.5631 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.3807, allocations: 11.92 kB / 0.5631 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.3807, allocations: 4 kB / 0.5631 GB, free: 1.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.3808, allocations: 113.8 kB / 0.5632 GB, free: 1.266 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3808, allocations: 0 / 0.5632 GB, free: 1.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000303/0.3811, allocations: 43.86 kB / 0.5633 GB, free: 1.223 MB / 398.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 (7): * Single equations (assignments): 7 * 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.00192/0.383, allocations: 0.5324 MB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.3832, allocations: 63.95 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3832, allocations: 0 / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.327e-05/0.3833, allocations: 36.06 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3837, allocations: 16.14 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.3842, allocations: 197.9 kB / 0.5641 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.201e-05/0.3843, allocations: 79.31 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.786e-05/0.3843, allocations: 16.66 kB / 0.5642 GB, free: 464 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.3844, allocations: 19.42 kB / 0.5642 GB, free: 444 kB / 398.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3844, allocations: 0 / 0.5642 GB, free: 444 kB / 398.1 MB Notification: Performance of Templates: time 0.005483/0.3899, allocations: 2.023 MB / 0.5662 GB, free: 14.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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: 5.240658534690738]