Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.002158/0.002158, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001254/0.001254, allocations: 161 kB / 24.56 MB, free: 16 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.104/1.104, allocations: 177.1 MB / 205 MB, free: 5.594 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.2822/0.2822, allocations: 32.8 MB / 294.3 MB, free: 1.211 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 376.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.118e-05, allocations: 6.312 kB / 376.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002751/0.002782, allocations: 1.778 MB / 377.9 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.004112, allocations: 1.009 MB / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.491e-05/0.004197, allocations: 7.938 kB / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.004537, allocations: 43.75 kB / 379 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.004862, allocations: 107.4 kB / 379.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.005036, allocations: 83.66 kB / 379.1 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.005223, allocations: 135.5 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.005326, allocations: 8 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.587e-05/0.005422, allocations: 67.88 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.846e-05/0.00552, allocations: 47.81 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.005539, allocations: 8 kB / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.005645, allocations: 63.86 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.005709, allocations: 27.91 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.005757, allocations: 27.92 kB / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.005982, allocations: 131.5 kB / 379.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.005987, allocations: 0 / 379.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.005988, allocations: 0 / 379.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.005995, allocations: 0 / 379.7 MB, free: 0.9805 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000533/0.006528, allocations: 471.6 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.006568, allocations: 12.03 kB / 380.1 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.006627, allocations: 20.84 kB / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.006824, allocations: 164.8 kB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.006846, allocations: 4.375 kB / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.006874, allocations: 4.375 kB / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.007029, allocations: 78.86 kB / 380.4 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.007041, allocations: 3.938 kB / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.007051, allocations: 0 / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.007062, allocations: 4 kB / 380.4 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.715e-05/0.007129, allocations: 35.95 kB / 380.4 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.007509, allocations: 303.7 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.007734, allocations: 83 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.007776, allocations: 27.67 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.007794, allocations: 0 / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.007912, allocations: 77.03 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.007913, allocations: 0 / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006281/0.008541, allocations: 261.7 kB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.008575, allocations: 59.41 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.008975, allocations: 229.9 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.008996, allocations: 33.7 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.009057, allocations: 151.1 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.009097, allocations: 51.78 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.009141, allocations: 35.36 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.009265, allocations: 0.5 MB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.045e-05/0.009306, allocations: 23.92 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.278e-05/0.009359, allocations: 50.67 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.164e-05/0.00945, allocations: 79.11 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.009451, allocations: 0 / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001637/0.009615, allocations: 137.5 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.009629, allocations: 8 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.009635, allocations: 0 / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.009653, allocations: 3.984 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.009732, allocations: 23.98 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.009739, allocations: 4 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.009769, allocations: 11.94 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.009779, allocations: 4 kB / 382.6 MB, free: 13.86 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 (15): * Single equations (assignments): 15 * 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 8.148e-05/0.00986, allocations: 168.5 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.009883, allocations: 27.89 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.01012, allocations: 151.1 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01012, allocations: 0 / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.01013, allocations: 0 / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01013, allocations: 7.984 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.01053, allocations: 480.5 kB / 383.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.01054, allocations: 4 kB / 383.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.01059, allocations: 23.98 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.01059, allocations: 8.062 kB / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.0106, allocations: 0 / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.0106, allocations: 4 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.01061, allocations: 7.875 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.01081, allocations: 307 kB / 383.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.01083, allocations: 15.91 kB / 383.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.01086, allocations: 4 kB / 383.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.01091, allocations: 11.98 kB / 383.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.01095, allocations: 11.92 kB / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.01097, allocations: 4 kB / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.912e-05/0.01106, allocations: 188.2 kB / 383.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01106, allocations: 3.938 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.01126, allocations: 31.94 kB / 384 MB, free: 12.33 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 (16): * Single equations (assignments): 14 * 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.001214/0.01247, allocations: 0.4909 MB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.01265, allocations: 79.59 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.01265, allocations: 0 / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.01271, allocations: 51.59 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.01299, allocations: 35.98 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.01345, allocations: 281.7 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.847e-05/0.0135, allocations: 75.83 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.293e-05/0.01355, allocations: 29.66 kB / 385 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.0136, allocations: 20.5 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0136, allocations: 0 / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of Templates: time 0.004386/0.01798, allocations: 2.386 MB / 387.4 MB, free: 9.043 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.4019903889857233]