Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.0009871/0.0009871, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.002177, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007453/0.0007453, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001835, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.055/1.055, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09647/1.152, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2547/0.2547, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02768/0.2824, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.822e-05, allocations: 3.406 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.00216/0.002178, allocations: 1.807 MB / 294.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.003386, allocations: 1.018 MB / 295.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.003459, allocations: 4 kB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.00365, allocations: 47.56 kB / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.003869, allocations: 87.5 kB / 295.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.004057, allocations: 87.53 kB / 296 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.00422, allocations: 107.6 kB / 296.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/0.004294, allocations: 4 kB / 296.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.004429, allocations: 87.73 kB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.799e-05/0.004517, allocations: 27.92 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.004532, allocations: 4 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.902e-05/0.004622, allocations: 43.92 kB / 296.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.004673, allocations: 15.92 kB / 296.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.004703, allocations: 15.94 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.004882, allocations: 107.5 kB / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.004891, allocations: 0 / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004892, allocations: 0 / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.0049, allocations: 0 / 296.4 MB, free: 2.641 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.0003943/0.005294, allocations: 333 kB / 296.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.005325, allocations: 12.03 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.005354, allocations: 8.938 kB / 296.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.005506, allocations: 150.2 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.00552, allocations: 4.375 kB / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.005539, allocations: 4.312 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.005645, allocations: 65.77 kB / 297 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.005655, allocations: 3.938 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.005663, allocations: 0 / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.005667, allocations: 0 / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.044e-05/0.005697, allocations: 15.97 kB / 297 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.00591, allocations: 162 kB / 297.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.889e-05/0.006008, allocations: 93.22 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.043e-05/0.006029, allocations: 16.8 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.006039, allocations: 0 / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.006147, allocations: 66.16 kB / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.006148, allocations: 0 / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003225/0.00647, allocations: 121.6 kB / 297.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.006504, allocations: 51.41 kB / 297.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.006628, allocations: 177.3 kB / 297.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.006647, allocations: 33.7 kB / 297.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.006685, allocations: 100.1 kB / 297.8 MB, free: 1.109 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.006713, allocations: 19.84 kB / 297.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.006749, allocations: 25.7 kB / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.006837, allocations: 322.8 kB / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.006857, allocations: 10.81 kB / 298.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.006882, allocations: 29.64 kB / 298.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.006925, allocations: 40.52 kB / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.006927, allocations: 4 kB / 298.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.5e-05/0.007012, allocations: 76.44 kB / 298.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.007025, allocations: 11.98 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.007029, allocations: 0 / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.007039, allocations: 0 / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.007114, allocations: 16 kB / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.007117, allocations: 0 / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.007147, allocations: 7.984 kB / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.007153, allocations: 4 kB / 298.3 MB, free: 0.5156 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 7.272e-05/0.007226, allocations: 121.5 kB / 298.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.007242, allocations: 19.92 kB / 298.5 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.007358, allocations: 71.17 kB / 298.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.00736, allocations: 0 / 298.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007362, allocations: 0 / 298.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007365, allocations: 0 / 298.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.007613, allocations: 303.4 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007614, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.007647, allocations: 15.94 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.007659, allocations: 11.94 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.007661, allocations: 0 / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-06/0.007666, allocations: 0 / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.007669, allocations: 11.95 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.00767, allocations: 4 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.007779, allocations: 215 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.007795, allocations: 0 / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.13e-05/0.007836, allocations: 4 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.007862, allocations: 11.98 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.007873, allocations: 0 / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.529e-05/0.007918, allocations: 51.64 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007918, allocations: 0 / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001498/0.008068, allocations: 19.98 kB / 299.2 MB, free: 15.6 MB / 298.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.001519/0.009587, allocations: 0.6476 MB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.009711, allocations: 48.77 kB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.009723, allocations: 8.094 kB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.073e-05/0.009764, allocations: 28.78 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.01002, allocations: 176.4 kB / 300.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.01048, allocations: 223.7 kB / 300.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.575e-05/0.01053, allocations: 71.27 kB / 300.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.968e-05/0.01057, allocations: 12.97 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.01063, allocations: 71.47 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01063, allocations: 0 / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of Templates: time 0.003291/0.01393, allocations: 2.051 MB / 302.5 MB, free: 12.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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: 2.922832690179348]