Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.0013/0.0013, 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.001435/0.001435, allocations: 170.8 kB / 24.91 MB, free: 8.777 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.9906/0.9906, 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.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.2529/0.2529, allocations: 34.27 MB / 296.1 MB, free: 0.7305 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.268e-05, allocations: 11.45 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002024/0.002036, allocations: 1.761 MB / 327.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.003161, allocations: 1.01 MB / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.003223, allocations: 0 / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.00346, allocations: 43.7 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.003682, allocations: 95.53 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.003815, allocations: 87.53 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.003949, allocations: 107.6 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.699e-05/0.004016, allocations: 11.98 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.491e-05/0.004091, allocations: 51.84 kB / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.004155, allocations: 31.89 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.004169, allocations: 4 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.526e-05/0.004234, allocations: 39.94 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.004275, allocations: 19.92 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.004306, allocations: 24.41 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.004445, allocations: 103.5 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.004447, allocations: 4 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004448, allocations: 0 / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.896e-06/0.00445, allocations: 0 / 328.7 MB, free: 4.207 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.000342/0.004792, allocations: 321.5 kB / 329 MB, free: 3.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.004822, allocations: 8.031 kB / 329 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.004853, allocations: 16.92 kB / 329.1 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.004985, allocations: 139.5 kB / 329.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.005, allocations: 4.375 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.005017, allocations: 4.375 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.558e-05/0.005113, allocations: 65.7 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.005122, allocations: 3.938 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.005129, allocations: 4 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.005136, allocations: 3.984 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.388e-05/0.00516, allocations: 15.98 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.005341, allocations: 161.9 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.152e-05/0.005423, allocations: 89.22 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.005443, allocations: 20.86 kB / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.005452, allocations: 0 / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.331e-05/0.005526, allocations: 62.16 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.005526, allocations: 0 / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002743/0.005801, allocations: 113.5 kB / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.005828, allocations: 55.41 kB / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.005927, allocations: 177.3 kB / 330 MB, free: 2.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.00594, allocations: 29.7 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.00597, allocations: 100.1 kB / 330.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.005993, allocations: 27.77 kB / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.006019, allocations: 17.72 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.006091, allocations: 326.8 kB / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.006108, allocations: 14.81 kB / 330.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.006131, allocations: 22.03 kB / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.193e-05/0.006173, allocations: 52.52 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.006173, allocations: 0 / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.587e-05/0.006239, allocations: 76.38 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.006249, allocations: 7.984 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.006254, allocations: 0 / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.006266, allocations: 4 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.006318, allocations: 12 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.00632, allocations: 0 / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.006345, allocations: 8 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.00635, allocations: 3.984 kB / 330.6 MB, free: 2.102 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 5.877e-05/0.006409, allocations: 120.6 kB / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.006421, allocations: 11.94 kB / 330.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.085e-05/0.006512, allocations: 75.12 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.006513, allocations: 0 / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.006515, allocations: 0 / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.006517, allocations: 0 / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.006716, allocations: 299.5 kB / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006717, allocations: 0 / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.00674, allocations: 15.92 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.006741, allocations: 0 / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.006747, allocations: 8.031 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006748, allocations: 0 / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006749, allocations: 4.016 kB / 331.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.612e-05/0.006845, allocations: 219 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.006857, allocations: 15.92 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.006871, allocations: 4 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.521e-05/0.006907, allocations: 0 / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.006933, allocations: 11.98 kB / 331.4 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.006943, allocations: 4 kB / 331.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.699e-05/0.00698, allocations: 47.64 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00698, allocations: 4 kB / 331.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001341/0.007114, allocations: 23.94 kB / 331.5 MB, free: 1.184 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.001157/0.008271, allocations: 0.5773 MB / 332.1 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.442e-05/0.008345, allocations: 48.78 kB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.008348, allocations: 0 / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.008378, allocations: 28.78 kB / 332.1 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.008543, allocations: 30.91 kB / 332.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.008831, allocations: 219.7 kB / 332.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.502e-05/0.008866, allocations: 63.34 kB / 332.4 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.446e-05/0.0089, allocations: 21.39 kB / 332.5 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.008957, allocations: 67.36 kB / 332.5 MB, free: 388 kB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008958, allocations: 0 / 332.5 MB, free: 388 kB / 298.7 MB Notification: Performance of Templates: time 0.003198/0.01216, allocations: 2.016 MB / 334.5 MB, free: 14.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.948298940900713]