Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.000972/0.000972, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001297/0.001297, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2513/0.2513, allocations: 32.8 MB / 294.6 MB, free: 1.199 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.742e-05, allocations: 2.312 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002186/0.002203, allocations: 1.924 MB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.003853, allocations: 1.106 MB / 326.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.136e-05/0.003944, allocations: 4 kB / 326.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.004303, allocations: 159.3 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.004718, allocations: 199.2 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.004978, allocations: 123.5 kB / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.005243, allocations: 247.2 kB / 327.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.005339, allocations: 23.23 kB / 327.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.005503, allocations: 139.6 kB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.005646, allocations: 107.8 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.005666, allocations: 8 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.005776, allocations: 71.89 kB / 327.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.005845, allocations: 59.72 kB / 327.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.005894, allocations: 39.84 kB / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.006125, allocations: 183.3 kB / 327.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.006126, allocations: 0 / 327.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006127, allocations: 0 / 327.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.006131, allocations: 0 / 327.7 MB, free: 5.238 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004906/0.006621, allocations: 456.2 kB / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.006652, allocations: 12.03 kB / 328.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.006697, allocations: 24.91 kB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.006905, allocations: 205.9 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.006921, allocations: 4.375 kB / 328.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.006945, allocations: 8.375 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.007095, allocations: 115.3 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.007105, allocations: 3.938 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.007115, allocations: 4 kB / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.007121, allocations: 0 / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.935e-05/0.00717, allocations: 33.61 kB / 328.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.007472, allocations: 300.9 kB / 328.8 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.007674, allocations: 178.6 kB / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.007717, allocations: 41.83 kB / 329 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.007728, allocations: 4 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.007845, allocations: 103.9 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.007846, allocations: 0 / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006218/0.008468, allocations: 316.6 kB / 329.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.008509, allocations: 81.11 kB / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.00872, allocations: 296.6 kB / 329.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.00874, allocations: 29.7 kB / 329.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.009031, allocations: 109.2 kB / 330 MB, free: 2.773 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/0.009086, allocations: 75.41 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.009144, allocations: 41.69 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.009236, allocations: 350.7 kB / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.009273, allocations: 22.83 kB / 330.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/0.009328, allocations: 58.02 kB / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.009436, allocations: 107.6 kB / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.009438, allocations: 0 / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001615/0.009599, allocations: 141.7 kB / 330.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.009609, allocations: 4 kB / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.009614, allocations: 0 / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.009627, allocations: 4 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.009733, allocations: 47.91 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.009736, allocations: 0 / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.009792, allocations: 12 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.009803, allocations: 8 kB / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.531e-05/0.009888, allocations: 136.6 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.009917, allocations: 15.98 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.01012, allocations: 159.6 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01012, allocations: 4 kB / 331.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01012, allocations: 3.938 kB / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01013, allocations: 0 / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.01058, allocations: 0.5633 MB / 331.7 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.01058, allocations: 8 kB / 331.7 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.01065, allocations: 27.92 kB / 331.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01065, allocations: 7.938 kB / 331.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.01067, allocations: 8 kB / 331.7 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.01067, allocations: 4 kB / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01067, allocations: 0 / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.01089, allocations: 411.4 kB / 332.2 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.01092, allocations: 31.88 kB / 332.2 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.01094, allocations: 8 kB / 332.2 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.01106, allocations: 7.984 kB / 332.2 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.0111, allocations: 19.97 kB / 332.2 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.01111, allocations: 12 kB / 332.2 MB, free: 384 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.01122, allocations: 119.5 kB / 332.3 MB, free: 264 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01122, allocations: 0 / 332.3 MB, free: 264 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.01152, allocations: 51.92 kB / 332.4 MB, free: 212 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001635/0.01315, allocations: 0.6683 MB / 333.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.01332, allocations: 100.5 kB / 333.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.01332, allocations: 7.938 kB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.01339, allocations: 60.69 kB / 333.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.01376, allocations: 64.3 kB / 333.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.01431, allocations: 454 kB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.123e-05/0.01438, allocations: 104.3 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.383e-05/0.01446, allocations: 33.92 kB / 333.9 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.01458, allocations: 95.36 kB / 334 MB, free: 14.91 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01458, allocations: 0 / 334 MB, free: 14.91 MB / 314.7 MB Notification: Performance of Templates: time 0.00619/0.02077, allocations: 3.622 MB / 337.6 MB, free: 11.35 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.017880466300994]