Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.0008023/0.0008023, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008889/0.0008889, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9305/0.9305, allocations: 177.2 MB / 205 MB, free: 5.297 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.2412/0.2412, allocations: 32.8 MB / 294.3 MB, free: 1.227 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.07e-05, allocations: 2.312 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002119/0.00214, allocations: 1.762 MB / 377.9 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.003315, allocations: 1.009 MB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.003377, allocations: 0 / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.003641, allocations: 59.67 kB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.003893, allocations: 99.53 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.004031, allocations: 87.53 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.004163, allocations: 103.7 kB / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.716e-05/0.00424, allocations: 7.984 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.124e-05/0.004311, allocations: 59.77 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.004373, allocations: 23.91 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.004388, allocations: 4 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.909e-05/0.004457, allocations: 47.91 kB / 379.4 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.004508, allocations: 31.86 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.004541, allocations: 19.94 kB / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.0047, allocations: 123.5 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004702, allocations: 0 / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 5e-07/0.004702, allocations: 0 / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.004706, allocations: 0 / 379.5 MB, free: 1.141 MB / 346.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.0004633/0.005169, allocations: 471.6 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.005201, allocations: 12.03 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.005246, allocations: 20.84 kB / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.005401, allocations: 165.2 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.005418, allocations: 8.359 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.005435, allocations: 8.375 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.005546, allocations: 58.94 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.005558, allocations: 11.86 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.005568, allocations: 4 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.005575, allocations: 0 / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.005606, allocations: 11.98 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.005904, allocations: 295.8 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.006011, allocations: 47.17 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/0.006042, allocations: 27.55 kB / 380.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.006053, allocations: 7.938 kB / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.441e-05/0.006148, allocations: 69.05 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.006149, allocations: 0 / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003566/0.006505, allocations: 165.3 kB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.006533, allocations: 51.41 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.00668, allocations: 274.7 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.006692, allocations: 29.7 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.006751, allocations: 166.9 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.006779, allocations: 27.78 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.006808, allocations: 23.38 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.006919, allocations: 0.5118 MB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.006941, allocations: 8 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.006975, allocations: 43.28 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.007028, allocations: 51.3 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.007029, allocations: 0 / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.278e-05/0.007122, allocations: 93.53 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.007133, allocations: 4 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.007137, allocations: 0 / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.007152, allocations: 32 / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.00723, allocations: 24.36 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007234, allocations: 0 / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.007265, allocations: 4 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.007273, allocations: 8 kB / 382.2 MB, free: 14.25 MB / 362.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.144e-05/0.007344, allocations: 168.5 kB / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.007361, allocations: 15.91 kB / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.007507, allocations: 111.2 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.00751, allocations: 3.938 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.007513, allocations: 4 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.007518, allocations: 7.984 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.007803, allocations: 401 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.007806, allocations: 4 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/0.007832, allocations: 11.98 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007834, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.00784, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.007842, allocations: 4 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.007842, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.007976, allocations: 267.3 kB / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.007988, allocations: 11.91 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.008003, allocations: 8.031 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.905e-05/0.008042, allocations: 3.984 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.008074, allocations: 8 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.008087, allocations: 7.984 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.013e-05/0.008178, allocations: 196.5 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008178, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.008341, allocations: 27.94 kB / 383.4 MB, free: 12.93 MB / 362.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.000894/0.009235, allocations: 443.1 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.009359, allocations: 51.66 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009361, allocations: 0 / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.009402, allocations: 39.61 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.009633, allocations: 34.62 kB / 384 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.009984, allocations: 262.8 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.463e-05/0.01003, allocations: 75.33 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.367e-05/0.01006, allocations: 17.08 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.01009, allocations: 20.5 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01009, allocations: 3.938 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of Templates: time 0.003509/0.0136, allocations: 2.021 MB / 386.4 MB, free: 10.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.8947256579995155]