Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001619/0.001619, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002033/0.002033, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.524/1.524, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.4179/0.4179, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 375.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.404e-05, allocations: 2.312 kB / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.004978/0.005012, allocations: 1.742 MB / 377.1 MB, free: 3.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.007836, allocations: 0.9665 MB / 378.1 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.007941, allocations: 7.938 kB / 378.1 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004444/0.008385, allocations: 91.67 kB / 378.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000552/0.008937, allocations: 119.4 kB / 378.3 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.009334, allocations: 87.53 kB / 378.4 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.009652, allocations: 123.6 kB / 378.5 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.009768, allocations: 11.98 kB / 378.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.009969, allocations: 67.81 kB / 378.6 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.01015, allocations: 63.86 kB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.01018, allocations: 4 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.01038, allocations: 63.91 kB / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.427e-05/0.01046, allocations: 27.86 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.801e-05/0.01054, allocations: 23.92 kB / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.01093, allocations: 139.5 kB / 378.9 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01093, allocations: 0 / 378.9 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01093, allocations: 0 / 378.9 MB, free: 1.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.01094, allocations: 4 kB / 378.9 MB, free: 1.375 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008342/0.01177, allocations: 365.4 kB / 379.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.01183, allocations: 12.03 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.264e-05/0.01193, allocations: 24.78 kB / 379.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.01235, allocations: 162.2 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.01238, allocations: 12.38 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.01241, allocations: 4.375 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.01263, allocations: 58.22 kB / 379.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.01265, allocations: 7.938 kB / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.01266, allocations: 0 / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.01267, allocations: 0 / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.01279, allocations: 23.98 kB / 379.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.01334, allocations: 252.4 kB / 379.8 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.0137, allocations: 62.48 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.01381, allocations: 28.97 kB / 379.9 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.01383, allocations: 0 / 379.9 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.01405, allocations: 67.39 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 5e-06/0.01405, allocations: 3.984 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.00119/0.01524, allocations: 269.6 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.0153, allocations: 51.41 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.01569, allocations: 239.6 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.01573, allocations: 33.69 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.01584, allocations: 108.1 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.0159, allocations: 43.59 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.01597, allocations: 33.64 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002328/0.01621, allocations: 326.8 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.01632, allocations: 31.98 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.01646, allocations: 45.7 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.01671, allocations: 81.64 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01671, allocations: 0 / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003795/0.01709, allocations: 133.5 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.01711, allocations: 12.03 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.01712, allocations: 0 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.01714, allocations: 0 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.01727, allocations: 23.98 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.01728, allocations: 7.938 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.01735, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.01737, allocations: 4 kB / 381.3 MB, free: 14.71 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 (13): * Single equations (assignments): 13 * 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 0.0001848/0.01755, allocations: 133.8 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.01761, allocations: 27.84 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.01806, allocations: 147.1 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.01807, allocations: 4 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.01808, allocations: 0 / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.01808, allocations: 3.984 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.01892, allocations: 403.7 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01892, allocations: 0 / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.804e-05/0.01901, allocations: 19.98 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.01901, allocations: 0 / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.01902, allocations: 0 / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01903, allocations: 4 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.01903, allocations: 8 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.01952, allocations: 249 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.01955, allocations: 15.91 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.01959, allocations: 8 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.01972, allocations: 0 / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.01978, allocations: 19.91 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.0198, allocations: 8 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002607/0.02006, allocations: 171.2 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02006, allocations: 0 / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000476/0.02054, allocations: 35.92 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00336/0.0239, allocations: 0.5486 MB / 383.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.02422, allocations: 83.89 kB / 383.2 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.02422, allocations: 0 / 383.2 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.02437, allocations: 39.92 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005675/0.02494, allocations: 31.97 kB / 383.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/0.02577, allocations: 302.1 kB / 383.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.02594, allocations: 105.8 kB / 383.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.177e-05/0.02604, allocations: 16.64 kB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.02611, allocations: 24.42 kB / 383.7 MB, free: 12.44 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02611, allocations: 0 / 383.7 MB, free: 12.44 MB / 362.7 MB Notification: Performance of Templates: time 0.008152/0.03426, allocations: 2.127 MB / 385.8 MB, free: 10.35 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9302874830318615]