Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001063/0.001063, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001049/0.001049, allocations: 169 kB / 24.82 MB, free: 9.266 MB / 18.57 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.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.2772/0.2772, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 376.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.282e-05, allocations: 6.312 kB / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003226/0.003249, allocations: 1.765 MB / 378.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.005079, allocations: 0.9897 MB / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.541e-05/0.005175, allocations: 3.938 kB / 379.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.005563, allocations: 87.69 kB / 379.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.005954, allocations: 119.4 kB / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.006175, allocations: 79.55 kB / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005929/0.006768, allocations: 119.6 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.006884, allocations: 7.984 kB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.00702, allocations: 71.8 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.007147, allocations: 51.88 kB / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.00717, allocations: 4 kB / 379.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.007275, allocations: 47.92 kB / 379.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.594e-05/0.00734, allocations: 35.84 kB / 379.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.00739, allocations: 19.92 kB / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.007561, allocations: 99.59 kB / 380 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.007564, allocations: 4 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.007566, allocations: 0 / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.00757, allocations: 0 / 380.1 MB, free: 0.8086 MB / 346.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.0004329/0.008003, allocations: 459.7 kB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.008042, allocations: 12.03 kB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.008081, allocations: 12.84 kB / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.008238, allocations: 152.4 kB / 380.7 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.008256, allocations: 8.312 kB / 380.7 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.008276, allocations: 12.31 kB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.008394, allocations: 58.94 kB / 380.8 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.008405, allocations: 3.938 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.008411, allocations: 0 / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.008416, allocations: 0 / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.512e-05/0.008441, allocations: 8 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.008691, allocations: 264.4 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.282e-05/0.008774, allocations: 51.11 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.008794, allocations: 15.69 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.00881, allocations: 4 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.332e-05/0.008893, allocations: 64.97 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.008895, allocations: 4 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002983/0.009193, allocations: 137.7 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.00922, allocations: 55.41 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.009345, allocations: 234.7 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.009358, allocations: 33.7 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.009417, allocations: 154.8 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.009444, allocations: 35.77 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.009474, allocations: 31.31 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.009591, allocations: 0.4962 MB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.009609, allocations: 15.98 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.243e-05/0.009642, allocations: 43.34 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.392e-05/0.009686, allocations: 35.38 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.009687, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001006/0.009787, allocations: 97.45 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.0098, allocations: 6.5 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.009806, allocations: 4.031 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.009819, allocations: 0 / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.009881, allocations: 23.92 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.009883, allocations: 0 / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.009909, allocations: 0 / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.009914, allocations: 4 kB / 382.5 MB, free: 14.09 MB / 362.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.498e-05/0.009989, allocations: 164.6 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.01, allocations: 15.89 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.01014, allocations: 103.2 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01014, allocations: 3.984 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01014, allocations: 4 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01015, allocations: 0 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.01041, allocations: 365.6 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01041, allocations: 4 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.436e-05/0.01044, allocations: 11.98 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01044, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.01045, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.01045, allocations: 4 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01045, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.01058, allocations: 251.4 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.01059, allocations: 11.98 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.0106, allocations: 8 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.01064, allocations: 3.984 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.01067, allocations: 7.984 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.01068, allocations: 7.984 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.116e-05/0.01075, allocations: 177 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01075, allocations: 0 / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000164/0.01092, allocations: 27.92 kB / 383.7 MB, free: 12.87 MB / 362.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.0009664/0.01188, allocations: 446.4 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.644e-05/0.01197, allocations: 43.61 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01197, allocations: 0 / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.28e-05/0.012, allocations: 31.67 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.01223, allocations: 35.86 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.01253, allocations: 240.5 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.013e-05/0.01257, allocations: 71.33 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.01261, allocations: 25.39 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.01267, allocations: 86.19 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01267, allocations: 0 / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of Templates: time 0.003879/0.01655, allocations: 2.049 MB / 386.7 MB, free: 9.988 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.165634621400386]