Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001317/0.001317, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00171/0.00171, allocations: 172.7 kB / 24.91 MB, free: 9.195 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.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2511/0.2511, allocations: 34.27 MB / 296.1 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 325.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.494e-05, allocations: 5.578 kB / 325.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003699/0.003724, allocations: 1.822 MB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.005444, allocations: 1.018 MB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.438e-05/0.005529, allocations: 0 / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.005905, allocations: 99.61 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.006285, allocations: 131.4 kB / 328.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.006529, allocations: 91.53 kB / 328.5 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.006815, allocations: 132.1 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.682e-05/0.006912, allocations: 15.97 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.007043, allocations: 71.8 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.007166, allocations: 67.8 kB / 328.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.007184, allocations: 4 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.007307, allocations: 55.92 kB / 328.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.007366, allocations: 31.91 kB / 328.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.007411, allocations: 31.86 kB / 328.9 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.007648, allocations: 135.5 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.007651, allocations: 0 / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.007652, allocations: 3.938 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.007657, allocations: 0 / 329.1 MB, free: 3.809 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004638/0.008121, allocations: 353.2 kB / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.008158, allocations: 12.03 kB / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.008202, allocations: 8.922 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.008415, allocations: 158.5 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.008434, allocations: 4.375 kB / 329.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.008454, allocations: 384 / 329.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.008602, allocations: 81.69 kB / 329.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.008615, allocations: 3.938 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.008624, allocations: 0 / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.00863, allocations: 0 / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.067e-05/0.008681, allocations: 19.97 kB / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.008988, allocations: 193.8 kB / 329.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.009171, allocations: 97.28 kB / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.009202, allocations: 12.84 kB / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.009214, allocations: 4 kB / 330 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.009327, allocations: 78.25 kB / 330.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.009328, allocations: 0 / 330.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005448/0.009873, allocations: 178.2 kB / 330.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.009908, allocations: 55.41 kB / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.01008, allocations: 213.1 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.0101, allocations: 29.7 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.01015, allocations: 104 kB / 330.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.01019, allocations: 43.67 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.01024, allocations: 21.72 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.01033, allocations: 334.8 kB / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/0.01036, allocations: 10.83 kB / 331.1 MB, free: 1.672 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.01041, allocations: 40.06 kB / 331.1 MB, free: 1.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.408e-05/0.01049, allocations: 72.23 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01049, allocations: 0 / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001284/0.01062, allocations: 77.48 kB / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.01063, allocations: 7.984 kB / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01064, allocations: 4.703 kB / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.01065, allocations: 0 / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.01074, allocations: 31.95 kB / 331.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.01075, allocations: 0 / 331.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.062e-05/0.01079, allocations: 4 kB / 331.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.0108, allocations: 4 kB / 331.3 MB, free: 1.418 MB / 298.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 (14): * Single equations (assignments): 14 * 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.741e-05/0.01088, allocations: 120.6 kB / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.01091, allocations: 11.98 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.01108, allocations: 107 kB / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01109, allocations: 0 / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01109, allocations: 0 / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01109, allocations: 4 kB / 331.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.01145, allocations: 350.2 kB / 331.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01145, allocations: 0 / 331.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/0.01152, allocations: 19.94 kB / 331.9 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.01152, allocations: 7.984 kB / 331.9 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.01153, allocations: 0 / 331.9 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.01153, allocations: 7.984 kB / 331.9 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01154, allocations: 0 / 331.9 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.01184, allocations: 239.9 kB / 332.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.01186, allocations: 15.91 kB / 332.2 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.01189, allocations: 8.062 kB / 332.2 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.01196, allocations: 7.938 kB / 332.2 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.012, allocations: 15.97 kB / 332.2 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.01201, allocations: 7.938 kB / 332.2 MB, free: 452 kB / 298.7 MB Notification: Performance of sorting global known variables: time 7.957e-05/0.01209, allocations: 69.92 kB / 332.3 MB, free: 380 kB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01209, allocations: 0 / 332.3 MB, free: 380 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.01237, allocations: 35.92 kB / 332.3 MB, free: 344 kB / 298.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 (14): * Single equations (assignments): 12 * 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.001996/0.01436, allocations: 0.6398 MB / 332.9 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.01451, allocations: 72.69 kB / 333 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.01451, allocations: 0 / 333 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.663e-05/0.01457, allocations: 36.78 kB / 333 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.01485, allocations: 42.47 kB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.01534, allocations: 284.9 kB / 333.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.358e-05/0.0154, allocations: 87.72 kB / 333.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.663e-05/0.01547, allocations: 21.33 kB / 333.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.01557, allocations: 71.36 kB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01557, allocations: 0 / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of Templates: time 0.005555/0.02113, allocations: 2.452 MB / 336 MB, free: 12.96 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.0158168599009514]