Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.001076/0.001076, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002612, allocations: 447.8 kB / 10.35 MB, free: 348 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.001072/0.001072, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002376, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9181/0.9181, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.257/1.175, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1239/0.1239, allocations: 32.34 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02139/0.1453, allocations: 12.3 MB / 265.9 MB, free: 7.824 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.293e-05, allocations: 6.312 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.001928/0.001941, allocations: 1.766 MB / 269.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.002879, allocations: 0.8154 MB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.002952, allocations: 0 / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.003129, allocations: 43.66 kB / 269.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.003265, allocations: 63.67 kB / 270 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.003502, allocations: 79.72 kB / 270.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.003678, allocations: 103.6 kB / 270.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.681e-05/0.003755, allocations: 4.234 kB / 270.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.003904, allocations: 71.83 kB / 270.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.003988, allocations: 27.91 kB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.004009, allocations: 4 kB / 270.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.004112, allocations: 47.86 kB / 270.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.004157, allocations: 15.92 kB / 270.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.004199, allocations: 15.94 kB / 270.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.004395, allocations: 99.61 kB / 270.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.719e-05/0.004412, allocations: 4 kB / 270.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.004412, allocations: 0 / 270.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.004429, allocations: 0 / 270.4 MB, free: 3.27 MB / 266.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.000483/0.004912, allocations: 331.9 kB / 270.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.004946, allocations: 8.031 kB / 270.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.004979, allocations: 12.92 kB / 270.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.005129, allocations: 146.2 kB / 270.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.005143, allocations: 384 / 270.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.005159, allocations: 4.375 kB / 270.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.00526, allocations: 61.77 kB / 271 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.005271, allocations: 11.92 kB / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.005278, allocations: 0 / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.005283, allocations: 4 kB / 271 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.375e-05/0.005306, allocations: 4 kB / 271 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.005504, allocations: 173.8 kB / 271.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.713e-05/0.005591, allocations: 97.28 kB / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.005609, allocations: 8.859 kB / 271.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.00562, allocations: 0 / 271.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.064e-05/0.005711, allocations: 78.14 kB / 271.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.005712, allocations: 0 / 271.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002785/0.005991, allocations: 105.5 kB / 271.5 MB, free: 2.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.006019, allocations: 55.41 kB / 271.5 MB, free: 2.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.006116, allocations: 180.9 kB / 271.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.00613, allocations: 25.7 kB / 271.7 MB, free: 1.848 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.006159, allocations: 88.12 kB / 271.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.006186, allocations: 31.77 kB / 271.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.006218, allocations: 21.72 kB / 271.9 MB, free: 1.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.006295, allocations: 326.8 kB / 272.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.0066, allocations: 18.75 kB / 272.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.006622, allocations: 21.72 kB / 272.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.006665, allocations: 44.56 kB / 272.3 MB, free: 1.273 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006667, allocations: 4 kB / 272.3 MB, free: 1.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.207e-05/0.006749, allocations: 68.38 kB / 272.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.006762, allocations: 8 kB / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006766, allocations: 0 / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.006775, allocations: 3.984 kB / 272.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.006842, allocations: 20 kB / 272.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.006845, allocations: 8.016 kB / 272.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.006872, allocations: 7.938 kB / 272.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.006878, allocations: 0 / 272.4 MB, free: 1.148 MB / 266.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.78e-05/0.006946, allocations: 116.7 kB / 272.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.006958, allocations: 11.92 kB / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.317e-05/0.007051, allocations: 79.08 kB / 272.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.007054, allocations: 0 / 272.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.007056, allocations: 0 / 272.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.00706, allocations: 0 / 272.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.007275, allocations: 303.4 kB / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.007277, allocations: 0 / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.007303, allocations: 8 kB / 272.9 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.007312, allocations: 7.953 kB / 272.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.007315, allocations: 7.938 kB / 272.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.007323, allocations: 7.984 kB / 272.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007324, allocations: 0 / 272.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007325, allocations: 0 / 272.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.715e-05/0.007422, allocations: 215 kB / 273.1 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.007438, allocations: 4.375 kB / 273.1 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.523e-05/0.007473, allocations: 4 kB / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.007495, allocations: 8.016 kB / 273.1 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.007506, allocations: 8 kB / 273.1 MB, free: 332 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.852e-05/0.007544, allocations: 52.34 kB / 273.2 MB, free: 276 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007544, allocations: 0 / 273.2 MB, free: 276 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.007688, allocations: 27.92 kB / 273.2 MB, free: 248 kB / 266.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.001268/0.008957, allocations: 0.64 MB / 273.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.831e-05/0.009055, allocations: 44.78 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.009061, allocations: 0 / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.008e-05/0.009092, allocations: 28.78 kB / 273.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.009287, allocations: 51.72 kB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.009746, allocations: 226.4 kB / 274.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.009787, allocations: 67.34 kB / 274.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.578e-05/0.009823, allocations: 12.48 kB / 274.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.009886, allocations: 71.36 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.009887, allocations: 0 / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of Templates: time 0.00345/0.01334, allocations: 2.034 MB / 276.4 MB, free: 13.01 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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: 2.9781552124768496]