Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001027/0.001027, 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.001242/0.001242, allocations: 168.6 kB / 24.92 MB, free: 8.73 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 0.9999/0.9999, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2894/0.2894, allocations: 32.8 MB / 294.6 MB, free: 1.18 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 323.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.909e-05, allocations: 3.188 kB / 323.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003036/0.003056, allocations: 1.79 MB / 325.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.004633, allocations: 1.017 MB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.647e-05/0.0047, allocations: 0 / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.004947, allocations: 51.62 kB / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.005207, allocations: 91.53 kB / 326.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.005392, allocations: 83.61 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.005605, allocations: 107.6 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.005679, allocations: 13.36 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.364e-05/0.005773, allocations: 51.84 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.005844, allocations: 35.83 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.005859, allocations: 4 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.264e-05/0.005942, allocations: 43.92 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.005986, allocations: 23.91 kB / 326.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.006019, allocations: 15.94 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.006188, allocations: 107.6 kB / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.006192, allocations: 3.984 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006192, allocations: 4 kB / 326.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.006196, allocations: 0 / 326.8 MB, free: 6.102 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.0003769/0.006573, allocations: 337.2 kB / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.006607, allocations: 8.031 kB / 327.1 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.006641, allocations: 12.94 kB / 327.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.006822, allocations: 154.4 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.006836, allocations: 384 / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.006851, allocations: 8.312 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.006954, allocations: 61.77 kB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.006966, allocations: 3.938 kB / 327.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-06/0.006972, allocations: 4 kB / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.006979, allocations: 4 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.872e-05/0.007008, allocations: 11.92 kB / 327.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.007218, allocations: 166 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.007319, allocations: 85.3 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.00734, allocations: 12.84 kB / 327.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.007351, allocations: 4 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.236e-05/0.007443, allocations: 70.14 kB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.007444, allocations: 3.938 kB / 327.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002864/0.007731, allocations: 117.6 kB / 327.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.007754, allocations: 55.34 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.007854, allocations: 193.6 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.007866, allocations: 29.7 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.007895, allocations: 104 kB / 328.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.007922, allocations: 19.8 kB / 328.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.007957, allocations: 25.69 kB / 328.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.008046, allocations: 326.8 kB / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.008064, allocations: 10.83 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/0.008093, allocations: 25.7 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.135e-05/0.008145, allocations: 48.45 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008146, allocations: 0 / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.665e-05/0.008242, allocations: 68.44 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.008256, allocations: 8 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.008261, allocations: 0 / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.008275, allocations: 0 / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.008341, allocations: 20.3 kB / 328.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.008348, allocations: 4 kB / 328.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.008384, allocations: 4 kB / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.008394, allocations: 16.03 kB / 328.8 MB, free: 3.938 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 7.379e-05/0.008468, allocations: 115.3 kB / 328.9 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.008485, allocations: 15.94 kB / 328.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.008611, allocations: 75.06 kB / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.008613, allocations: 4 kB / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.008615, allocations: 3.938 kB / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.008619, allocations: 0 / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.00887, allocations: 299.4 kB / 329.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.008872, allocations: 0 / 329.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/0.008907, allocations: 12.03 kB / 329.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.008911, allocations: 4 kB / 329.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.008918, allocations: 0 / 329.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.00892, allocations: 0 / 329.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.008921, allocations: 0 / 329.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.009049, allocations: 227 kB / 329.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.009064, allocations: 11.91 kB / 329.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.009085, allocations: 3.984 kB / 329.5 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.009147, allocations: 4 kB / 329.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.00918, allocations: 11.98 kB / 329.5 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.009191, allocations: 4 kB / 329.5 MB, free: 3.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.095e-05/0.009262, allocations: 60.23 kB / 329.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009262, allocations: 0 / 329.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.009487, allocations: 31.92 kB / 329.6 MB, free: 3.004 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.001705/0.01119, allocations: 0.5784 MB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.01141, allocations: 44.77 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.01142, allocations: 0 / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.01146, allocations: 24.84 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.0117, allocations: 30.89 kB / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.01206, allocations: 250.4 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.208e-05/0.01211, allocations: 71.33 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.344e-05/0.01216, allocations: 13.42 kB / 330.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.01224, allocations: 71.36 kB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01224, allocations: 0 / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of Templates: time 0.004495/0.01673, allocations: 2.025 MB / 332.7 MB, free: 192 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.0440640808083117]