Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.00136/0.00136, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001794/0.001794, allocations: 169 kB / 24.91 MB, free: 9.207 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.504 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.2447/0.2447, allocations: 34.26 MB / 296.1 MB, free: 0.6562 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.405e-05, allocations: 3.156 kB / 325.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002746/0.00277, allocations: 1.762 MB / 327.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.004179, allocations: 0.9943 MB / 328.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.004252, allocations: 0 / 328.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.004531, allocations: 51.75 kB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.00478, allocations: 107.4 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.004917, allocations: 75.66 kB / 328.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.005056, allocations: 99.64 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.0051, allocations: 4.219 kB / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.005189, allocations: 59.77 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/0.005258, allocations: 23.92 kB / 328.5 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.005272, allocations: 4 kB / 328.5 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.663e-05/0.005339, allocations: 27.98 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.005385, allocations: 35.84 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.005415, allocations: 16.44 kB / 328.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.005565, allocations: 107.5 kB / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.005567, allocations: 0 / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005569, allocations: 0 / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.005572, allocations: 0 / 328.7 MB, free: 4.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003928/0.005965, allocations: 337.4 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.005999, allocations: 12.03 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.006035, allocations: 8.875 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.006271, allocations: 162.4 kB / 329.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.00629, allocations: 4.359 kB / 329.2 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.006299, allocations: 384 / 329.2 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.006407, allocations: 57.77 kB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.006415, allocations: 7.938 kB / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.006423, allocations: 0 / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.006428, allocations: 4 kB / 329.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.006448, allocations: 4 kB / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.205e-05/0.00654, allocations: 70.69 kB / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.255e-05/0.006623, allocations: 45.36 kB / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.006641, allocations: 12.86 kB / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.006653, allocations: 0 / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.633e-05/0.006739, allocations: 62.22 kB / 329.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.00674, allocations: 0 / 329.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001267/0.006867, allocations: 65.61 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.0069, allocations: 59.28 kB / 329.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.007029, allocations: 212 kB / 329.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.007042, allocations: 29.69 kB / 329.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.007076, allocations: 100.1 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.007104, allocations: 11.91 kB / 330 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.007132, allocations: 17.72 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.569e-05/0.007208, allocations: 326.8 kB / 330.3 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.007227, allocations: 18.8 kB / 330.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.007247, allocations: 17.72 kB / 330.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.293e-05/0.00729, allocations: 39.55 kB / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007292, allocations: 0 / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.669e-05/0.007358, allocations: 60.5 kB / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.007372, allocations: 8 kB / 330.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.007376, allocations: 0 / 330.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.007389, allocations: 0 / 330.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.27e-05/0.007451, allocations: 15.88 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007456, allocations: 12.02 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.007484, allocations: 0 / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.007488, allocations: 0 / 330.5 MB, free: 2.23 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 (7): * Single equations (assignments): 7 * 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 6.702e-05/0.007555, allocations: 120.6 kB / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.007567, allocations: 11.98 kB / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.161e-05/0.007659, allocations: 70.75 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007661, allocations: 4 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.007663, allocations: 3.938 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.007666, allocations: 0 / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.778e-05/0.007744, allocations: 89.84 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007746, allocations: 4 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.007766, allocations: 4 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.007768, allocations: 0 / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.007774, allocations: 4 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.007776, allocations: 0 / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007777, allocations: 0 / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.76e-05/0.007854, allocations: 94.81 kB / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.007872, allocations: 15.97 kB / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.007893, allocations: 4 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.007916, allocations: 3.984 kB / 330.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.007941, allocations: 11.88 kB / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.007952, allocations: 8 kB / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.699e-05/0.008009, allocations: 76.94 kB / 331 MB, free: 1.656 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008009, allocations: 0 / 331 MB, free: 1.656 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001209/0.00813, allocations: 20 kB / 331 MB, free: 1.637 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001174/0.009304, allocations: 0.499 MB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.372e-05/0.009388, allocations: 28.84 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.009393, allocations: 4 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/0.009423, allocations: 24.77 kB / 331.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.009574, allocations: 31.97 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.01027, allocations: 235.2 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.713e-05/0.01032, allocations: 71.34 kB / 331.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.41e-05/0.01035, allocations: 12.48 kB / 331.9 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.01042, allocations: 63.36 kB / 332 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of SimCode: time 1.894e-06/0.01042, allocations: 0 / 332 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of Templates: time 0.003822/0.01424, allocations: 1.793 MB / 333.8 MB, free: 15.12 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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: 2.9182214410975575]