Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.00185/0.00185, 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.002415/0.002415, allocations: 206.9 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.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2619/0.2619, allocations: 44.94 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 179] 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.Test21,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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") [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.00213/0.00213, allocations: 71.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3465, allocations: 65.46 MB / 0.5575 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003221/0.3497, allocations: 1.589 MB / 0.559 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.3518, allocations: 1.236 MB / 0.5602 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.3519, allocations: 4 kB / 0.5602 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.3522, allocations: 19.86 kB / 0.5602 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.3525, allocations: 87.61 kB / 0.5603 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.3528, allocations: 91.69 kB / 0.5604 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.353, allocations: 63.84 kB / 0.5605 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3531, allocations: 11.98 kB / 0.5605 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.152e-05/0.3532, allocations: 27.86 kB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3533, allocations: 27.84 kB / 0.5605 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.3533, allocations: 4 kB / 0.5605 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.3536, allocations: 95.88 kB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.3536, allocations: 15.92 kB / 0.5607 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.3537, allocations: 11.94 kB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.354, allocations: 153.8 kB / 0.5608 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.354, allocations: 0 / 0.5608 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.354, allocations: 0 / 0.5608 GB, free: 4.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.354, allocations: 0 / 0.5608 GB, free: 4.055 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.0005938/0.3546, allocations: 329.7 kB / 0.5611 GB, free: 3.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3546, allocations: 12.03 kB / 0.5611 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.3547, allocations: 8.891 kB / 0.5611 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.3549, allocations: 129.1 kB / 0.5613 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3549, allocations: 384 / 0.5613 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.3549, allocations: 8.375 kB / 0.5613 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.3551, allocations: 101.2 kB / 0.5614 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3551, allocations: 0 / 0.5614 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3551, allocations: 0 / 0.5614 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3552, allocations: 4 kB / 0.5614 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3553, allocations: 23.97 kB / 0.5614 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.3557, allocations: 224.5 kB / 0.5616 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.3559, allocations: 42.5 kB / 0.5617 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.356, allocations: 16.86 kB / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.356, allocations: 0 / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.356, allocations: 42.64 kB / 0.5617 GB, free: 3.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.356, allocations: 0 / 0.5617 GB, free: 3.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005639/0.3566, allocations: 137.4 kB / 0.5618 GB, free: 2.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.3567, allocations: 77.11 kB / 0.5619 GB, free: 2.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.3568, allocations: 141.8 kB / 0.5621 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.3569, allocations: 29.7 kB / 0.5621 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.3569, allocations: 92.12 kB / 0.5622 GB, free: 2.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.357, allocations: 31.73 kB / 0.5622 GB, free: 2.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.357, allocations: 21.7 kB / 0.5622 GB, free: 2.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3572, allocations: 318.8 kB / 0.5625 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.3572, allocations: 15.98 kB / 0.5625 GB, free: 2.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.403e-05/0.3573, allocations: 59.41 kB / 0.5626 GB, free: 2.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.3575, allocations: 44.83 kB / 0.5626 GB, free: 1.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3575, allocations: 3.938 kB / 0.5626 GB, free: 1.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001979/0.3576, allocations: 85.64 kB / 0.5627 GB, free: 1.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3577, allocations: 4 kB / 0.5627 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3577, allocations: 3.938 kB / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3577, allocations: 4 kB / 0.5627 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.3577, allocations: 12 kB / 0.5627 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3578, allocations: 3.984 kB / 0.5628 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.3578, allocations: 4.25 kB / 0.5628 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.3578, allocations: 0 / 0.5628 GB, free: 1.863 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 (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 0.0001157/0.3579, allocations: 121.8 kB / 0.5629 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.358, allocations: 11.95 kB / 0.5629 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.3582, allocations: 97.97 kB / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3582, allocations: 0 / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3582, allocations: 4 kB / 0.563 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3582, allocations: 0 / 0.563 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.3587, allocations: 290.1 kB / 0.5633 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3587, allocations: 4 kB / 0.5633 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.793e-05/0.3587, allocations: 11.98 kB / 0.5633 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3587, allocations: 4 kB / 0.5633 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3588, allocations: 0 / 0.5633 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3588, allocations: 0 / 0.5633 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3588, allocations: 4 kB / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.359, allocations: 179.7 kB / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.359, allocations: 3.953 kB / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.3591, allocations: 4 kB / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.3591, allocations: 15.97 kB / 0.5635 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.3592, allocations: 3.938 kB / 0.5635 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.3592, allocations: 4 kB / 0.5635 GB, free: 1.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.3593, allocations: 117.9 kB / 0.5636 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3593, allocations: 3.938 kB / 0.5636 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.3596, allocations: 35.88 kB / 0.5636 GB, free: 0.8867 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 (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.001929/0.3615, allocations: 0.5292 MB / 0.5641 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.3617, allocations: 43.97 kB / 0.5642 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3617, allocations: 0 / 0.5642 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.928e-05/0.3618, allocations: 35.91 kB / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.3622, allocations: 13.62 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.3626, allocations: 165.6 kB / 0.5644 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.559e-05/0.3627, allocations: 79.02 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.718e-05/0.3627, allocations: 15.77 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.3628, allocations: 19.42 kB / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3628, allocations: 4 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of Templates: time 0.005269/0.3681, allocations: 1.809 MB / 0.5663 GB, free: 14.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.443739589303732]