Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001032/0.001032, allocations: 77.88 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.001006/0.001006, allocations: 168 kB / 24.82 MB, free: 9.258 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.069/1.069, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2584/0.2584, 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 376.6 MB, free: 4.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.371e-05, allocations: 2.312 kB / 376.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002547/0.002571, allocations: 1.769 MB / 378.3 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.003933, allocations: 0.9897 MB / 379.3 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.004019, allocations: 0 / 379.3 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.00432, allocations: 55.69 kB / 379.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.00461, allocations: 111.5 kB / 379.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.004798, allocations: 79.61 kB / 379.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.004953, allocations: 99.69 kB / 379.7 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.00504, allocations: 8 kB / 379.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.00513, allocations: 59.75 kB / 379.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.959e-05/0.005199, allocations: 27.92 kB / 379.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.005215, allocations: 4 kB / 379.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-05/0.005299, allocations: 51.91 kB / 379.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.005349, allocations: 27.86 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.005388, allocations: 19.92 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.005562, allocations: 115.5 kB / 380 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.005565, allocations: 0 / 380 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.005567, allocations: 4 kB / 380 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005572, allocations: 0 / 380 MB, free: 0.9102 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.000475/0.006047, allocations: 479.6 kB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.006088, allocations: 12.03 kB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.006133, allocations: 16.84 kB / 380.5 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.0063, allocations: 165.2 kB / 380.6 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.006318, allocations: 4.375 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.006335, allocations: 384 / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.006457, allocations: 70.81 kB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.006468, allocations: 3.938 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.006475, allocations: 0 / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.006481, allocations: 0 / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.744e-05/0.006508, allocations: 15.98 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.006777, allocations: 264.4 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.006867, allocations: 55.09 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.006887, allocations: 11.69 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.006903, allocations: 4 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.106e-05/0.006994, allocations: 68.98 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.542e-06/0.006996, allocations: 0 / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002965/0.007292, allocations: 141.7 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.007316, allocations: 51.41 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.007462, allocations: 274.6 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.007474, allocations: 29.7 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.007538, allocations: 166.8 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.007565, allocations: 31.77 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.007595, allocations: 27.38 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.007715, allocations: 0.5001 MB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.007734, allocations: 12.05 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.007761, allocations: 39.28 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.007806, allocations: 43.38 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.007808, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001028/0.00791, allocations: 97.41 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.007922, allocations: 11.98 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.007927, allocations: 0 / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.007937, allocations: 0 / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.007995, allocations: 16 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.007998, allocations: 4 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.008025, allocations: 0 / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.008032, allocations: 7.984 kB / 382.5 MB, free: 14.11 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.303e-05/0.008105, allocations: 164.5 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.008122, allocations: 23.88 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.008253, allocations: 103.2 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.008256, allocations: 0 / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008257, allocations: 0 / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.008261, allocations: 7.938 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.008515, allocations: 369.6 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008517, allocations: 0 / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.008542, allocations: 12 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008544, allocations: 0 / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.008549, allocations: 0 / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.008551, allocations: 8.031 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.008552, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.008707, allocations: 259.3 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.008723, allocations: 27.88 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.008737, allocations: 0 / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.008779, allocations: 4 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.008802, allocations: 3.984 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.008817, allocations: 8 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.31e-05/0.0089, allocations: 184.5 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0089, allocations: 0 / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.009079, allocations: 27.92 kB / 383.7 MB, free: 12.86 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.00086/0.009939, allocations: 443.3 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.117e-05/0.01003, allocations: 47.59 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01003, allocations: 0 / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.209e-05/0.01006, allocations: 27.67 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01028, allocations: 39.69 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.0106, allocations: 258.5 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.395e-05/0.01064, allocations: 83.33 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.581e-05/0.01068, allocations: 17.27 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.01074, allocations: 86.19 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01074, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of Templates: time 0.003483/0.01423, allocations: 2.068 MB / 386.8 MB, free: 9.934 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.097184639889747]