Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001792/0.001792, allocations: 85.95 kB / 20.68 MB, free: 1.023 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.002146/0.002146, allocations: 163.2 kB / 23.95 MB, free: 4.156 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.563/1.563, allocations: 177.1 MB / 204.3 MB, free: 9.172 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.2442/0.2442, allocations: 34.29 MB / 295 MB, free: 14.55 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 442.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.215e-05, allocations: 2.281 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003721/0.003753, allocations: 1.799 MB / 444.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.005974, allocations: 1.045 MB / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.006113, allocations: 7.938 kB / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006521/0.006765, allocations: 311.1 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006667/0.007432, allocations: 259 kB / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.007744, allocations: 107.6 kB / 446.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004801/0.008224, allocations: 271.2 kB / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.072e-05/0.008285, allocations: 9.75 kB / 446.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.008552, allocations: 163.6 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.00885, allocations: 199.6 kB / 446.9 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.00889, allocations: 8 kB / 446.9 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.009041, allocations: 47.97 kB / 446.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.009233, allocations: 139.5 kB / 447.1 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.009349, allocations: 75.66 kB / 447.2 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005376/0.009886, allocations: 358.7 kB / 447.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.009889, allocations: 0 / 447.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.00989, allocations: 0 / 447.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.009907, allocations: 0 / 447.5 MB, free: 0.5273 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.1939/0.2038, allocations: 0.6734 MB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.2039, allocations: 11.28 kB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.204, allocations: 51.34 kB / 448.2 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006387/0.2046, allocations: 392.3 kB / 448.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.2046, allocations: 3.344 kB / 448.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.2047, allocations: 7.25 kB / 448.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.2049, allocations: 90.69 kB / 448.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2049, allocations: 3.375 kB / 448.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.2049, allocations: 4.719 kB / 448.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2049, allocations: 2.344 kB / 448.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.2051, allocations: 33.94 kB / 448.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.2056, allocations: 305.8 kB / 449.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.2059, allocations: 112.6 kB / 449.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.22e-05/0.206, allocations: 38.02 kB / 449.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.206, allocations: 1.891 kB / 449.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.2062, allocations: 115 kB / 449.3 MB, free: 18.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.2062, allocations: 0 / 449.3 MB, free: 18.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005393/0.2068, allocations: 213.1 kB / 449.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.2068, allocations: 80.02 kB / 449.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.208, allocations: 1.061 MB / 450.7 MB, free: 18.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.208, allocations: 34.64 kB / 450.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.2082, allocations: 239.4 kB / 450.9 MB, free: 18.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.2082, allocations: 30.86 kB / 451 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.2083, allocations: 28.16 kB / 451 MB, free: 18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2084, allocations: 370.1 kB / 451.4 MB, free: 17.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-05/0.2085, allocations: 32.08 kB / 451.4 MB, free: 17.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.2086, allocations: 64.81 kB / 451.5 MB, free: 17.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.2087, allocations: 98.17 kB / 451.6 MB, free: 17.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2087, allocations: 1.375 kB / 451.6 MB, free: 17.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002991/0.209, allocations: 177.5 kB / 451.7 MB, free: 17.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.2091, allocations: 9.438 kB / 451.7 MB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2091, allocations: 2.219 kB / 451.7 MB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.2091, allocations: 1.375 kB / 451.7 MB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.2092, allocations: 26.14 kB / 451.8 MB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.2093, allocations: 1.375 kB / 451.8 MB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2094, allocations: 11.09 kB / 451.8 MB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.2094, allocations: 4.125 kB / 451.8 MB, free: 17.45 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0002242/0.2096, allocations: 228.4 kB / 452 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.2097, allocations: 55.66 kB / 452.1 MB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.2101, allocations: 207.9 kB / 452.3 MB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2101, allocations: 5.922 kB / 452.3 MB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2101, allocations: 1.562 kB / 452.3 MB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2101, allocations: 1.203 kB / 452.3 MB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.2105, allocations: 270.5 kB / 452.5 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2105, allocations: 2.828 kB / 452.5 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.2105, allocations: 10.23 kB / 452.5 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2105, allocations: 1.125 kB / 452.5 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2105, allocations: 3.75 kB / 452.6 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2105, allocations: 5.094 kB / 452.6 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2105, allocations: 4.062 kB / 452.6 MB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.2109, allocations: 220.5 kB / 452.8 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.211, allocations: 65.08 kB / 452.8 MB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.211, allocations: 6.297 kB / 452.8 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.2111, allocations: 9.609 kB / 452.9 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.2112, allocations: 17.94 kB / 452.9 MB, free: 16.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.2112, allocations: 5.438 kB / 452.9 MB, free: 16.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008623/0.2121, allocations: 0.7927 MB / 453.7 MB, free: 16.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2121, allocations: 1.094 kB / 453.7 MB, free: 16.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.2124, allocations: 53.94 kB / 453.7 MB, free: 16.55 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.001686/0.214, allocations: 446.8 kB / 454.2 MB, free: 16.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.2144, allocations: 83.84 kB / 454.2 MB, free: 16.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2144, allocations: 1.312 kB / 454.2 MB, free: 16.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.2145, allocations: 41.95 kB / 454.3 MB, free: 16.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.215, allocations: 66.5 kB / 454.4 MB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.2165, allocations: 0.8994 MB / 455.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.2168, allocations: 246.2 kB / 455.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.217, allocations: 64.89 kB / 455.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.034e-05/0.2171, allocations: 31.17 kB / 455.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2171, allocations: 0 / 455.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of Templates: time 0.01086/0.2279, allocations: 4.009 MB / 459.6 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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: 5.138455215841532]