Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001328/0.001328, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.0015/0.0015, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.538/1.538, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 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.2226/0.2226, allocations: 34.28 MB / 294.9 MB, free: 14.59 MB / 286.1 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 442.7 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.665e-05/3.88e-05, allocations: 2.281 kB / 442.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003878/0.003917, allocations: 1.804 MB / 444.5 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.007106, allocations: 1.733 MB / 446.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.007274, allocations: 3.938 kB / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.007621, allocations: 55.62 kB / 446.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005704/0.008192, allocations: 151.2 kB / 446.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.008645, allocations: 103.6 kB / 446.6 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.009157, allocations: 211.2 kB / 446.8 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.11e-05/0.009238, allocations: 5.812 kB / 446.8 MB, free: 1.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.00954, allocations: 111.7 kB / 446.9 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.009781, allocations: 75.72 kB / 447 MB, free: 1.094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.009826, allocations: 8 kB / 447 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/0.01013, allocations: 107.8 kB / 447.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.625e-05/0.01023, allocations: 35.84 kB / 447.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.675e-05/0.01032, allocations: 39.84 kB / 447.2 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.01082, allocations: 231.3 kB / 447.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01083, allocations: 3.938 kB / 447.4 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01083, allocations: 0 / 447.4 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.01083, allocations: 4 kB / 447.4 MB, free: 0.6719 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008853/0.01172, allocations: 421 kB / 447.8 MB, free: 236 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.01176, allocations: 12.03 kB / 447.8 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.01187, allocations: 24.78 kB / 447.8 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1877/0.1996, allocations: 180.5 kB / 448 MB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.1996, allocations: 6.703 kB / 448 MB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.1997, allocations: 5.328 kB / 448 MB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.2, allocations: 155.6 kB / 448.2 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2, allocations: 0.7031 kB / 448.2 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.2, allocations: 8.656 kB / 448.2 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2, allocations: 1.094 kB / 448.2 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.2001, allocations: 36.5 kB / 448.2 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.2004, allocations: 157.2 kB / 448.4 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.2007, allocations: 106.6 kB / 448.5 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/0.2008, allocations: 38.11 kB / 448.5 MB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.2008, allocations: 7.75 kB / 448.5 MB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.201, allocations: 113.3 kB / 448.6 MB, free: 19.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.201, allocations: 1.438 kB / 448.7 MB, free: 19.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004791/0.2015, allocations: 176.5 kB / 448.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.2015, allocations: 131.6 kB / 449 MB, free: 18.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.2018, allocations: 247.2 kB / 449.2 MB, free: 18.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.2018, allocations: 31.83 kB / 449.2 MB, free: 18.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.2018, allocations: 119.2 kB / 449.3 MB, free: 18.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.2019, allocations: 29.5 kB / 449.4 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.2019, allocations: 29.95 kB / 449.4 MB, free: 18.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.5e-05/0.202, allocations: 333.1 kB / 449.7 MB, free: 18.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-05/0.2021, allocations: 29.38 kB / 449.8 MB, free: 18.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.2022, allocations: 127 kB / 449.9 MB, free: 18.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.2023, allocations: 99.23 kB / 450 MB, free: 18.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2023, allocations: 1.406 kB / 450 MB, free: 18.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002655/0.2026, allocations: 142.9 kB / 450.1 MB, free: 18.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2026, allocations: 7.531 kB / 450.1 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2026, allocations: 1.812 kB / 450.1 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2026, allocations: 1.734 kB / 450.1 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2028, allocations: 21.36 kB / 450.1 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.2028, allocations: 8.938 kB / 450.2 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.868e-05/0.2029, allocations: 14.92 kB / 450.2 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.2029, allocations: 4.062 kB / 450.2 MB, free: 18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 8.665e-05/0.203, allocations: 133.1 kB / 450.3 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.203, allocations: 22.38 kB / 450.3 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.2033, allocations: 162.8 kB / 450.5 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2033, allocations: 4.484 kB / 450.5 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2033, allocations: 1.562 kB / 450.5 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2034, allocations: 5.594 kB / 450.5 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.2035, allocations: 164.7 kB / 450.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2035, allocations: 1.625 kB / 450.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.2035, allocations: 10.14 kB / 450.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2035, allocations: 1.188 kB / 450.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.2035, allocations: 3.828 kB / 450.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.2036, allocations: 2.297 kB / 450.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2036, allocations: 1.531 kB / 450.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.2039, allocations: 193.9 kB / 450.9 MB, free: 17.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.2039, allocations: 23.84 kB / 450.9 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.2039, allocations: 4.391 kB / 450.9 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.204, allocations: 9.766 kB / 450.9 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.2041, allocations: 9.5 kB / 450.9 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.2041, allocations: 9.234 kB / 450.9 MB, free: 17.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.2043, allocations: 184.5 kB / 451.1 MB, free: 17.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2043, allocations: 1.125 kB / 451.1 MB, free: 17.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.2046, allocations: 56.52 kB / 451.2 MB, free: 17.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001845/0.2064, allocations: 0.5416 MB / 451.7 MB, free: 17.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.2067, allocations: 93.52 kB / 451.8 MB, free: 17.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2067, allocations: 0 / 451.8 MB, free: 17.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.2068, allocations: 38.77 kB / 451.8 MB, free: 17.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.2072, allocations: 54.67 kB / 451.9 MB, free: 17.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.2077, allocations: 291.4 kB / 452.2 MB, free: 16.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.975e-05/0.2078, allocations: 112.3 kB / 452.3 MB, free: 16.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.294e-05/0.2079, allocations: 30.2 kB / 452.3 MB, free: 16.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.208, allocations: 31.22 kB / 452.3 MB, free: 16.86 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.208, allocations: 0 / 452.3 MB, free: 16.86 MB / 366.1 MB Notification: Performance of Templates: time 0.008141/0.2161, allocations: 3.416 MB / 455.8 MB, free: 16.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.996290031820536]