Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.0007965/0.0007965, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.001904, allocations: 449.7 kB / 10.37 MB, free: 328 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.000693/0.000693, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008351/0.001528, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.17/1.17, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1121/1.282, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.265/0.265, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02325/0.2883, allocations: 13.1 MB / 291.3 MB, free: 7.375 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 292.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.783e-05, allocations: 2.312 kB / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002188/0.002206, allocations: 1.817 MB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003435, allocations: 1.018 MB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.003504, allocations: 4 kB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.003718, allocations: 87.62 kB / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.003945, allocations: 123.4 kB / 295.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.004109, allocations: 71.69 kB / 295.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.004264, allocations: 123.6 kB / 295.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.458e-05/0.004338, allocations: 7.938 kB / 295.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.004461, allocations: 99.78 kB / 296 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.071e-05/0.004552, allocations: 51.81 kB / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.004565, allocations: 4 kB / 296.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.867e-05/0.004644, allocations: 43.92 kB / 296.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.004685, allocations: 15.94 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.004717, allocations: 15.94 kB / 296.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.004871, allocations: 103.6 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.479e-05/0.004886, allocations: 0 / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004887, allocations: 0 / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.004902, allocations: 0 / 296.3 MB, free: 2.637 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.00046/0.005362, allocations: 352.9 kB / 296.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.005393, allocations: 12.03 kB / 296.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.005425, allocations: 8.922 kB / 296.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.005583, allocations: 154 kB / 296.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.0056, allocations: 4.375 kB / 296.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.005618, allocations: 4.359 kB / 296.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.00572, allocations: 65.77 kB / 296.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.005729, allocations: 3.938 kB / 296.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.005735, allocations: 0 / 296.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.00574, allocations: 3.984 kB / 296.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.694e-05/0.005767, allocations: 11.94 kB / 296.9 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.005955, allocations: 162 kB / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.211e-05/0.006047, allocations: 89.28 kB / 297.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.006069, allocations: 16.86 kB / 297.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.006079, allocations: 7.922 kB / 297.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.198e-05/0.006171, allocations: 66.16 kB / 297.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.006172, allocations: 0 / 297.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002661/0.006438, allocations: 113.5 kB / 297.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.006467, allocations: 55.34 kB / 297.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.00657, allocations: 189 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.006585, allocations: 29.7 kB / 297.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.006614, allocations: 92.11 kB / 297.7 MB, free: 1.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.00664, allocations: 31.77 kB / 297.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.006682, allocations: 21.72 kB / 297.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.006761, allocations: 326.8 kB / 298.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.006775, allocations: 10.81 kB / 298.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.006798, allocations: 21.72 kB / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/0.006839, allocations: 44.44 kB / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.00684, allocations: 0 / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.817e-05/0.006908, allocations: 80.5 kB / 298.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.006918, allocations: 8 kB / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006922, allocations: 0 / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.00693, allocations: 0 / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.006998, allocations: 23.92 kB / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.007001, allocations: 0 / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.007026, allocations: 4 kB / 298.2 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.00703, allocations: 0 / 298.2 MB, free: 492 kB / 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 5.755e-05/0.007088, allocations: 116.7 kB / 298.4 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.007102, allocations: 19.95 kB / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.213e-05/0.007194, allocations: 75.08 kB / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007196, allocations: 0 / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.007198, allocations: 3.984 kB / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.007201, allocations: 0 / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.007409, allocations: 299.4 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.00741, allocations: 0 / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.007435, allocations: 12 kB / 298.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.007447, allocations: 11.94 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.007449, allocations: 0 / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.007456, allocations: 8.406 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007457, allocations: 0 / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.007458, allocations: 3.938 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.673e-05/0.007555, allocations: 227 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.007569, allocations: 7.984 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.007606, allocations: 0 / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.007631, allocations: 11.98 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.007642, allocations: 4 kB / 299 MB, free: 15.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.128e-05/0.007683, allocations: 57.61 kB / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007684, allocations: 0 / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001391/0.007823, allocations: 23.94 kB / 299.1 MB, free: 15.55 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.001499/0.009321, allocations: 0.6355 MB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.338e-05/0.009405, allocations: 56.69 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.009412, allocations: 8 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.577e-05/0.009438, allocations: 21 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.009609, allocations: 50.3 kB / 299.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.01002, allocations: 234.3 kB / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.993e-05/0.01006, allocations: 67.34 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.279e-05/0.01009, allocations: 12.97 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.01015, allocations: 71.48 kB / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01015, allocations: 0 / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Templates: time 0.003547/0.0137, allocations: 2.056 MB / 302.3 MB, free: 12.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.029294600710273]