Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001623/0.002725, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006562/0.0006562, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001677, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9541/0.9541, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2404/1.194, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.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.1528/0.1528, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02868/0.1814, allocations: 12.54 MB / 284.5 MB, free: 9.711 MB / 282.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.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.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.637e-05, allocations: 9.406 kB / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.00263/0.002657, allocations: 1.788 MB / 287.7 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.003748, allocations: 0.8766 MB / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.003818, allocations: 0 / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.004022, allocations: 43.7 kB / 288.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.004184, allocations: 55.64 kB / 288.7 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.004471, allocations: 119.5 kB / 288.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.00464, allocations: 95.64 kB / 288.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.004729, allocations: 12.17 kB / 288.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.004867, allocations: 75.81 kB / 289 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.695e-05/0.004954, allocations: 19.92 kB / 289 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.004973, allocations: 4 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-05/0.005068, allocations: 47.86 kB / 289.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.005117, allocations: 19.94 kB / 289.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.00515, allocations: 15.94 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.005312, allocations: 91.66 kB / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.005325, allocations: 0 / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.005326, allocations: 0 / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.005337, allocations: 0 / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004588/0.005796, allocations: 335.8 kB / 289.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.005828, allocations: 8.031 kB / 289.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.005861, allocations: 8.922 kB / 289.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.006024, allocations: 156.6 kB / 289.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.006039, allocations: 384 / 289.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.006058, allocations: 4.375 kB / 289.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.006168, allocations: 61.77 kB / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.006177, allocations: 3.938 kB / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.006183, allocations: 0 / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.006188, allocations: 0 / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.737e-05/0.006216, allocations: 19.92 kB / 289.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.006411, allocations: 154 kB / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.253e-05/0.006504, allocations: 93.33 kB / 290 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.006524, allocations: 16.86 kB / 290 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.006535, allocations: 0 / 290 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.908e-05/0.006634, allocations: 70.09 kB / 290.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.006635, allocations: 0 / 290.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002883/0.006923, allocations: 113.5 kB / 290.2 MB, free: 3.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.006947, allocations: 51.41 kB / 290.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.00704, allocations: 168.3 kB / 290.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.007054, allocations: 25.7 kB / 290.5 MB, free: 3.637 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.007082, allocations: 92.11 kB / 290.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.007107, allocations: 27.8 kB / 290.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.007138, allocations: 29.69 kB / 290.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.007221, allocations: 322.8 kB / 290.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.00724, allocations: 6.828 kB / 290.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.007266, allocations: 29.69 kB / 291 MB, free: 3.113 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.007307, allocations: 40.41 kB / 291 MB, free: 3.066 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007308, allocations: 0 / 291 MB, free: 3.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.315e-05/0.007391, allocations: 80.48 kB / 291.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.007405, allocations: 8 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.00741, allocations: 4.031 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.007423, allocations: 0 / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.007495, allocations: 23.92 kB / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.007498, allocations: 0 / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.007525, allocations: 0 / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.007532, allocations: 4 kB / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.869e-05/0.0076, allocations: 120.7 kB / 291.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.007618, allocations: 11.92 kB / 291.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.007738, allocations: 78.38 kB / 291.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.007741, allocations: 4 kB / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.007743, allocations: 4 kB / 291.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.007746, allocations: 0 / 291.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.00797, allocations: 287.8 kB / 291.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.007972, allocations: 0 / 291.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/0.008007, allocations: 16 kB / 291.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.00802, allocations: 15.92 kB / 291.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.008024, allocations: 0 / 291.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.008032, allocations: 8 kB / 291.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.008034, allocations: 0 / 291.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008035, allocations: 0 / 291.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.008149, allocations: 215 kB / 291.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.008169, allocations: 8 kB / 291.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.008209, allocations: 3.984 kB / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.00824, allocations: 7.984 kB / 291.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.008252, allocations: 4 kB / 291.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.576e-05/0.008298, allocations: 49.34 kB / 291.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008298, allocations: 0 / 291.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000145/0.008443, allocations: 27.92 kB / 292 MB, free: 2.031 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001435/0.009878, allocations: 0.634 MB / 292.6 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.009983, allocations: 52.75 kB / 292.6 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.009992, allocations: 0 / 292.6 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.01003, allocations: 28.88 kB / 292.7 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.01028, allocations: 194.1 kB / 292.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.01081, allocations: 215.5 kB / 293.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.424e-05/0.01085, allocations: 71.33 kB / 293.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.01088, allocations: 16.5 kB / 293.2 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.01095, allocations: 67.36 kB / 293.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01095, allocations: 0 / 293.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of Templates: time 0.003952/0.01491, allocations: 2.025 MB / 295.3 MB, free: 15 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0929003916680813]