Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001738/0.001738, allocations: 77.97 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.001302/0.001302, allocations: 165.3 kB / 24.82 MB, free: 9.27 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.111/1.111, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.3357/0.3357, allocations: 34.26 MB / 296.1 MB, free: 0.6406 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.977e-06/3.977e-06, allocations: 0 / 378.6 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.917e-05, allocations: 2.312 kB / 378.6 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003097/0.003136, allocations: 1.757 MB / 380.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.004682, allocations: 0.9897 MB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.004797, allocations: 0 / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.005179, allocations: 51.62 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.005505, allocations: 99.53 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.005714, allocations: 83.59 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.00589, allocations: 103.6 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.006011, allocations: 11.98 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.006125, allocations: 55.83 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.00622, allocations: 23.86 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.00624, allocations: 4 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.006346, allocations: 47.91 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.006413, allocations: 19.92 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.006463, allocations: 23.92 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.006685, allocations: 103.6 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.006691, allocations: 3.938 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006692, allocations: 4 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.006699, allocations: 0 / 382 MB, free: 14.88 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.0006089/0.007308, allocations: 451.8 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.007362, allocations: 12.03 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.007408, allocations: 12.89 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.007598, allocations: 156.9 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.007618, allocations: 384 / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.007643, allocations: 12.38 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.007789, allocations: 54.94 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.007802, allocations: 3.938 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.007815, allocations: 11.92 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.007823, allocations: 3.984 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.954e-05/0.007853, allocations: 8 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.008207, allocations: 256.4 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.008334, allocations: 51.16 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.008367, allocations: 19.62 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.008394, allocations: 8 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.008541, allocations: 68.97 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.635e-06/0.008543, allocations: 4 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004817/0.009025, allocations: 141.4 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.00907, allocations: 51.41 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.009235, allocations: 229.8 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.009256, allocations: 33.64 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.009341, allocations: 154.8 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.009382, allocations: 27.78 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.009424, allocations: 31.36 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.009608, allocations: 0.5001 MB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.009638, allocations: 8 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.287e-05/0.009681, allocations: 31.3 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.495e-05/0.009746, allocations: 47.42 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009748, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001426/0.00989, allocations: 93.45 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.009913, allocations: 8 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.009922, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.009946, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.357e-05/0.01004, allocations: 16.03 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.01005, allocations: 7.984 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.01008, allocations: 4 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.01009, allocations: 4 kB / 384.4 MB, free: 12.18 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.0001207/0.01021, allocations: 160.5 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.01024, allocations: 23.84 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.01041, allocations: 95.12 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.01041, allocations: 4 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01042, allocations: 3.938 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01042, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.0108, allocations: 361.7 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.0108, allocations: 3.938 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.01084, allocations: 8 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.01084, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.01086, allocations: 4.375 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01086, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01086, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.01103, allocations: 271.4 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.01105, allocations: 11.94 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.01107, allocations: 4.031 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.667e-05/0.01111, allocations: 4 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.01115, allocations: 7.984 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.01116, allocations: 4 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.328e-05/0.01125, allocations: 172.1 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01125, allocations: 0 / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000181/0.01143, allocations: 31.92 kB / 385.6 MB, free: 10.95 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.001188/0.01261, allocations: 422.2 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01275, allocations: 63.56 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01275, allocations: 0 / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.01279, allocations: 31.61 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.01308, allocations: 45.38 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.01356, allocations: 229.8 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.494e-05/0.01361, allocations: 67.33 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.251e-05/0.01365, allocations: 16.95 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/0.01374, allocations: 94.31 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.01374, allocations: 0 / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of Templates: time 0.004657/0.0184, allocations: 2.039 MB / 388.6 MB, free: 8.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.3121522599831223]