Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001228/0.001228, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001403/0.001403, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.088/1.088, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.3588/0.3588, allocations: 34.25 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 179] 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.534e-05/3.837e-05, allocations: 6.25 kB / 378.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003741/0.003779, allocations: 1.746 MB / 380.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.005639, allocations: 1.005 MB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.005748, allocations: 0 / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.006137, allocations: 43.7 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.006506, allocations: 91.53 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.006721, allocations: 83.66 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.006947, allocations: 115.6 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.007071, allocations: 7.984 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.007201, allocations: 55.78 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.007305, allocations: 27.91 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.007325, allocations: 4 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.007433, allocations: 47.91 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.299e-05/0.007496, allocations: 19.92 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.007549, allocations: 19.94 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.007783, allocations: 99.59 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.007788, allocations: 3.984 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.007789, allocations: 0 / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.007794, allocations: 8 kB / 382 MB, free: 14.9 MB / 362.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.0006058/0.0084, allocations: 443.8 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.008459, allocations: 11.97 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.008512, allocations: 20.83 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.008728, allocations: 153.1 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.008752, allocations: 4.375 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.008772, allocations: 4.375 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.008928, allocations: 54.94 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.008944, allocations: 11.92 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.008957, allocations: 4 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.008964, allocations: 4 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.223e-05/0.008996, allocations: 7.984 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.009338, allocations: 264.3 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.009461, allocations: 47.17 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.009493, allocations: 11.69 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.009514, allocations: 7.984 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.009656, allocations: 80.84 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.009657, allocations: 0 / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000442/0.0101, allocations: 133.5 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.01014, allocations: 51.41 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.01034, allocations: 230.3 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.01037, allocations: 29.7 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.01046, allocations: 150.8 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.0105, allocations: 23.8 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.01057, allocations: 35.34 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.01079, allocations: 0.4923 MB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.01082, allocations: 8 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.203e-05/0.01086, allocations: 31.34 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.258e-05/0.01094, allocations: 55.38 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01094, allocations: 0 / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001483/0.01109, allocations: 89.5 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.0111, allocations: 4 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01111, allocations: 4 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.01113, allocations: 4.312 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.527e-05/0.01121, allocations: 12 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.01122, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.01127, allocations: 15.98 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.01128, allocations: 4.031 kB / 384.4 MB, free: 12.22 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 0.0001083/0.01138, allocations: 160.6 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.01141, allocations: 19.84 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.01161, allocations: 99.06 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01161, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.01162, allocations: 4 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01162, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.01199, allocations: 361.6 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.012, allocations: 0 / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.01204, allocations: 12 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.01204, allocations: 4.031 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.01205, allocations: 4 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01206, allocations: 7.938 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01206, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.01227, allocations: 251.4 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.01229, allocations: 11.89 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.01232, allocations: 7.984 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.01239, allocations: 4 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.01243, allocations: 7.984 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.01245, allocations: 4 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.01256, allocations: 168.1 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01256, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003145/0.01287, allocations: 31.92 kB / 385.5 MB, free: 11.01 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.001339/0.01421, allocations: 429.6 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01434, allocations: 47.59 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.01435, allocations: 4 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.792e-05/0.01439, allocations: 27.61 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.01476, allocations: 53.05 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.01523, allocations: 214 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.81e-05/0.0153, allocations: 71.33 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.47e-05/0.01535, allocations: 8.984 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.01545, allocations: 90.19 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01546, allocations: 0 / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Templates: time 0.005183/0.02064, allocations: 2.044 MB / 388.5 MB, free: 8.168 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.471524107735604]