Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.0007934/0.0007934, allocations: 80.8 kB / 21.5 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.000967/0.000967, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.27/0.27, allocations: 32.8 MB / 294.6 MB, free: 1.172 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 323.4 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.901e-05, allocations: 5.297 kB / 323.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002353/0.002372, allocations: 1.798 MB / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.003569, allocations: 1.009 MB / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.00364, allocations: 0 / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.003898, allocations: 47.64 kB / 326.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.004147, allocations: 87.55 kB / 326.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.004326, allocations: 71.67 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.004471, allocations: 120.2 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.941e-05/0.004551, allocations: 4.75 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.004628, allocations: 51.89 kB / 326.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.004693, allocations: 31.84 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.004707, allocations: 4 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.004783, allocations: 47.86 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.004823, allocations: 27.91 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.004854, allocations: 19.92 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.005, allocations: 95.66 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.005001, allocations: 0 / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005002, allocations: 0 / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.005005, allocations: 0 / 326.8 MB, free: 6.105 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003195/0.005325, allocations: 325.3 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.005356, allocations: 16.03 kB / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.005383, allocations: 4.938 kB / 327.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.005521, allocations: 159.4 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.005533, allocations: 384 / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.005547, allocations: 4.375 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.298e-05/0.00564, allocations: 61.77 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.005649, allocations: 3.938 kB / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.005654, allocations: 0 / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.005658, allocations: 0 / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.005681, allocations: 11.98 kB / 327.3 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.005862, allocations: 161.9 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.207e-05/0.005944, allocations: 89.34 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.005964, allocations: 16.84 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.005973, allocations: 0 / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.66e-05/0.00605, allocations: 66.16 kB / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.006051, allocations: 0 / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002595/0.00631, allocations: 121.5 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.006335, allocations: 51.41 kB / 327.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.006428, allocations: 176.8 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.006441, allocations: 33.7 kB / 328 MB, free: 4.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.006471, allocations: 92.11 kB / 328.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.006496, allocations: 27.78 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.006526, allocations: 29.64 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.006599, allocations: 322.8 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.006612, allocations: 14.77 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.396e-05/0.006636, allocations: 29.69 kB / 328.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.836e-05/0.006674, allocations: 32.53 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.006675, allocations: 384 / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.046e-05/0.006746, allocations: 76.38 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.006758, allocations: 8 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.006762, allocations: 0 / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.006772, allocations: 0 / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.006834, allocations: 27.92 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.006838, allocations: 4 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.006864, allocations: 4 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.006869, allocations: 4 kB / 328.7 MB, free: 3.992 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 (10): * Single equations (assignments): 10 * 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.153e-05/0.006931, allocations: 125.3 kB / 328.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.006943, allocations: 15.97 kB / 328.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.784e-05/0.00704, allocations: 79.06 kB / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.007043, allocations: 0 / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.007046, allocations: 4 kB / 328.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.007049, allocations: 0 / 328.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.007255, allocations: 287.4 kB / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.007256, allocations: 0 / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.007281, allocations: 15.98 kB / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.007282, allocations: 0 / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.00729, allocations: 4 kB / 329.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.007292, allocations: 8.031 kB / 329.2 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007293, allocations: 0 / 329.2 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.808e-05/0.007391, allocations: 215 kB / 329.4 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.007403, allocations: 11.94 kB / 329.4 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.007417, allocations: 4 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.007455, allocations: 4 kB / 329.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.007479, allocations: 7.984 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.007489, allocations: 0 / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.101e-05/0.00753, allocations: 51.64 kB / 329.5 MB, free: 3.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00753, allocations: 0 / 329.5 MB, free: 3.105 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001443/0.007674, allocations: 27.94 kB / 329.5 MB, free: 3.078 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001234/0.008908, allocations: 0.5914 MB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.51e-05/0.009003, allocations: 40.83 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.009007, allocations: 4.062 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.009036, allocations: 24.78 kB / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.009209, allocations: 35.91 kB / 330.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.009486, allocations: 215.7 kB / 330.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.009525, allocations: 71.28 kB / 330.5 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.632e-05/0.009561, allocations: 21.25 kB / 330.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.009624, allocations: 71.42 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009624, allocations: 0 / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of Templates: time 0.003429/0.01305, allocations: 2.012 MB / 332.6 MB, free: 288 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.909149040002376]