Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0008232/0.0008232, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003653/0.003653, allocations: 164.1 kB / 24.7 MB, free: 8.891 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 0.9118/0.9118, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2896/0.2896, allocations: 32.8 MB / 294.2 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.603e-05, allocations: 2.281 kB / 440.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002183/0.002209, allocations: 1.725 MB / 442.7 MB, free: 1.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.003512, allocations: 0.9781 MB / 443.7 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.457e-05/0.003596, allocations: 0 / 443.7 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.003931, allocations: 107.6 kB / 443.8 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.004254, allocations: 131.4 kB / 443.9 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.004455, allocations: 83.66 kB / 444 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.004644, allocations: 139.5 kB / 444.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.00475, allocations: 7.938 kB / 444.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.004855, allocations: 75.8 kB / 444.2 MB, free: 400 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.004957, allocations: 75.78 kB / 444.3 MB, free: 324 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.004973, allocations: 4 kB / 444.3 MB, free: 320 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.005075, allocations: 59.92 kB / 444.3 MB, free: 260 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.005134, allocations: 35.84 kB / 444.4 MB, free: 224 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.005177, allocations: 27.86 kB / 444.4 MB, free: 196 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.005382, allocations: 155.5 kB / 444.5 MB, free: 40 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005384, allocations: 0 / 444.5 MB, free: 40 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005385, allocations: 0 / 444.5 MB, free: 40 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.00539, allocations: 0 / 444.5 MB, free: 40 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.1951/0.2005, allocations: 378.4 kB / 444.9 MB, free: 46.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2006, allocations: 9.25 kB / 444.9 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.2006, allocations: 17.75 kB / 444.9 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.2009, allocations: 161.9 kB / 445.1 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2009, allocations: 7.219 kB / 445.1 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.201, allocations: 4.406 kB / 445.1 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.2011, allocations: 74.34 kB / 445.2 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2011, allocations: 0 / 445.2 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2011, allocations: 0.6875 kB / 445.2 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2011, allocations: 3.312 kB / 445.2 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.523e-05/0.2012, allocations: 39.44 kB / 445.2 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.2016, allocations: 266.4 kB / 445.5 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.2018, allocations: 72.97 kB / 445.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.2019, allocations: 28.17 kB / 445.6 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.2019, allocations: 0 / 445.6 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.202, allocations: 84.28 kB / 445.7 MB, free: 46.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.904e-06/0.202, allocations: 2.875 kB / 445.7 MB, free: 46.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006401/0.2027, allocations: 287.2 kB / 445.9 MB, free: 46.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.2027, allocations: 57.81 kB / 446 MB, free: 46.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.2028, allocations: 268.4 kB / 446.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.2029, allocations: 28.58 kB / 446.3 MB, free: 45.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.2029, allocations: 117.8 kB / 446.4 MB, free: 45.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.2029, allocations: 42.59 kB / 446.4 MB, free: 45.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.203, allocations: 26.47 kB / 446.5 MB, free: 45.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.203, allocations: 331 kB / 446.8 MB, free: 45.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/0.2031, allocations: 32.8 kB / 446.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-05/0.2031, allocations: 58.92 kB / 446.9 MB, free: 45.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.2032, allocations: 98.25 kB / 447 MB, free: 45.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2032, allocations: 0 / 447 MB, free: 45.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000148/0.2034, allocations: 156 kB / 447.1 MB, free: 45.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2034, allocations: 6.812 kB / 447.1 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2034, allocations: 0 / 447.1 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.2034, allocations: 0 / 447.1 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.2035, allocations: 23.03 kB / 447.2 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2035, allocations: 2.938 kB / 447.2 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.2035, allocations: 3.938 kB / 447.2 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.2035, allocations: 8.984 kB / 447.2 MB, free: 45.29 MB / 410.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 (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.314e-05/0.2036, allocations: 143.2 kB / 447.3 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.2036, allocations: 23.55 kB / 447.3 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.2039, allocations: 179.6 kB / 447.5 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2039, allocations: 2.688 kB / 447.5 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2039, allocations: 0 / 447.5 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2039, allocations: 0 / 447.5 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.2042, allocations: 433.3 kB / 447.9 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2042, allocations: 2.938 kB / 447.9 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.2043, allocations: 23.3 kB / 448 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2043, allocations: 0 / 448 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.2043, allocations: 3.062 kB / 448 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.2043, allocations: 3.406 kB / 448 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2043, allocations: 0 / 448 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.2045, allocations: 271.9 kB / 448.2 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.2045, allocations: 14 kB / 448.3 MB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.2045, allocations: 10.88 kB / 448.3 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.691e-05/0.2045, allocations: 3.625 kB / 448.3 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.2046, allocations: 12.98 kB / 448.3 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.2046, allocations: 17 kB / 448.3 MB, free: 44.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.669e-05/0.2047, allocations: 196.7 kB / 448.5 MB, free: 44.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2047, allocations: 0 / 448.5 MB, free: 44.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001923/0.2049, allocations: 37.47 kB / 448.5 MB, free: 44.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001051/0.2059, allocations: 0.5524 MB / 449.1 MB, free: 44.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.2062, allocations: 93.64 kB / 449.2 MB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2062, allocations: 4.062 kB / 449.2 MB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.049e-05/0.2062, allocations: 46.22 kB / 449.2 MB, free: 44.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.2065, allocations: 34.95 kB / 449.3 MB, free: 44.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.207, allocations: 351.5 kB / 449.6 MB, free: 43.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.161e-05/0.2071, allocations: 117.1 kB / 449.7 MB, free: 43.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.2071, allocations: 24.25 kB / 449.7 MB, free: 43.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.804e-06/0.2071, allocations: 0 / 449.7 MB, free: 43.88 MB / 410.7 MB Notification: Performance of Templates: time 0.003242/0.2104, allocations: 2.533 MB / 452.3 MB, free: 43.57 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.213307786732912]