Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001867/0.001867, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002003/0.002003, allocations: 165.3 kB / 24.27 MB, free: 152 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 1.53/1.53, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3634/0.3634, allocations: 34.26 MB / 295.3 MB, free: 0.6875 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 377.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.882e-05, allocations: 5.266 kB / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003311/0.003339, allocations: 1.688 MB / 379.1 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.005303, allocations: 0.9859 MB / 380.1 MB, free: 204 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.005365, allocations: 0 / 380.1 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.005686, allocations: 55.75 kB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.006002, allocations: 99.47 kB / 380.2 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.006208, allocations: 79.61 kB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.006641, allocations: 99.69 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.006679, allocations: 8.172 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.006807, allocations: 59.77 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.006883, allocations: 15.92 kB / 380.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.006905, allocations: 8 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.006997, allocations: 35.97 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.007063, allocations: 31.86 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.007113, allocations: 15.94 kB / 380.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.007339, allocations: 119.5 kB / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.007341, allocations: 0 / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.007342, allocations: 0 / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.007346, allocations: 0 / 380.7 MB, free: 15.58 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006959/0.008042, allocations: 479.3 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.008078, allocations: 8.031 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.008139, allocations: 20.84 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.008403, allocations: 161.3 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.008419, allocations: 4.375 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.008428, allocations: 384 / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.008571, allocations: 46.23 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.008583, allocations: 3.938 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.008591, allocations: 4 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.008594, allocations: 0 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.275e-05/0.008667, allocations: 19.92 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.008915, allocations: 164.6 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.009105, allocations: 63.09 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.009163, allocations: 19.69 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.00918, allocations: 0 / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.009342, allocations: 69.05 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.009344, allocations: 3.938 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003333/0.009677, allocations: 101.5 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.009728, allocations: 55.39 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.01005, allocations: 297.6 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.01007, allocations: 29.7 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.0102, allocations: 166.9 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.01023, allocations: 19.89 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.01029, allocations: 31.38 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003075/0.01059, allocations: 0.5079 MB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.01064, allocations: 8 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.0107, allocations: 35.36 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.98e-05/0.0108, allocations: 47.31 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01081, allocations: 0 / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001759/0.01098, allocations: 89.52 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.011, allocations: 4 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.011, allocations: 8.281 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.01101, allocations: 4 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.01109, allocations: 8 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.0111, allocations: 4 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.01114, allocations: 4 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.01115, allocations: 0 / 383.1 MB, free: 12.91 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 (7): * Single equations (assignments): 7 * 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.0001389/0.01129, allocations: 164.6 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.01133, allocations: 19.91 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.01155, allocations: 102.8 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.01155, allocations: 0 / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.01156, allocations: 4 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01156, allocations: 7.984 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.01175, allocations: 168.5 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01176, allocations: 3.984 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.01179, allocations: 4 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.01179, allocations: 3.984 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.0118, allocations: 0 / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.0118, allocations: 3.938 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.01181, allocations: 4 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.01203, allocations: 132.2 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.01206, allocations: 7.953 kB / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.01208, allocations: 11.94 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.01212, allocations: 3.938 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.01216, allocations: 7.984 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.01217, allocations: 4 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002088/0.01238, allocations: 204.5 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01238, allocations: 0 / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.01259, allocations: 16 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002949/0.01554, allocations: 441.2 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.01572, allocations: 55.59 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.01573, allocations: 4 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.01579, allocations: 23.69 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.01608, allocations: 31.92 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.01662, allocations: 238.5 kB / 384.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.01674, allocations: 105.8 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.354e-05/0.01679, allocations: 8.812 kB / 384.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.01683, allocations: 20.48 kB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01683, allocations: 0 / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Templates: time 0.005549/0.02238, allocations: 1.669 MB / 386.5 MB, free: 9.551 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.911341203958727]