Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.0008533/0.0008533, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.004207/0.004207, allocations: 159.3 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.877/0.877, 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.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.2552/0.2552, allocations: 34.26 MB / 295.7 MB, free: 0.6992 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.794e-05, allocations: 6.219 kB / 443.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.2006/0.2006, allocations: 1.724 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2016, allocations: 0.9683 MB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.314e-05/0.2017, allocations: 0 / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.202, allocations: 43.14 kB / 446.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.2023, allocations: 104.2 kB / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.2024, allocations: 78.81 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.2026, allocations: 110.3 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.2027, allocations: 5.781 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.2027, allocations: 57.88 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.716e-05/0.2028, allocations: 26.2 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2028, allocations: 3.531 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.365e-05/0.2029, allocations: 48.44 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.2029, allocations: 29.25 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.203, allocations: 16.72 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.2032, allocations: 122.7 kB / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2032, allocations: 2.938 kB / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2032, allocations: 0 / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2032, allocations: 0 / 446.8 MB, free: 43.06 MB / 410.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.0003819/0.2035, allocations: 353.4 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2036, allocations: 9.906 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.2036, allocations: 10.7 kB / 447.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.2038, allocations: 148.5 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2038, allocations: 4.375 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.2038, allocations: 6.219 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.2039, allocations: 61.66 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.204, allocations: 3.938 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.204, allocations: 0 / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.204, allocations: 2.281 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.903e-05/0.204, allocations: 17.81 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.2043, allocations: 234.2 kB / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.2044, allocations: 60.09 kB / 447.7 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.2044, allocations: 32.02 kB / 447.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.2044, allocations: 0 / 447.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.839e-05/0.2045, allocations: 69.55 kB / 447.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.2045, allocations: 0 / 447.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003708/0.2049, allocations: 188.6 kB / 448 MB, free: 42.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.2049, allocations: 51.41 kB / 448.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.205, allocations: 216.4 kB / 448.3 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.205, allocations: 25.7 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.205, allocations: 111.6 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.2051, allocations: 22.7 kB / 448.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.2051, allocations: 25.38 kB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.278e-05/0.2051, allocations: 324.9 kB / 448.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.2052, allocations: 18.95 kB / 448.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.036e-05/0.2052, allocations: 48.11 kB / 448.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.399e-05/0.2053, allocations: 65.67 kB / 448.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2053, allocations: 0 / 448.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001024/0.2054, allocations: 111 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2054, allocations: 6.688 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.2054, allocations: 0 / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2054, allocations: 2.906 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.2055, allocations: 15.02 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2055, allocations: 0 / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.2055, allocations: 2.625 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2055, allocations: 10.72 kB / 449.1 MB, free: 41.28 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 (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 5.8e-05/0.2056, allocations: 133.3 kB / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-06/0.2056, allocations: 9.234 kB / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.2057, allocations: 128.2 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2057, allocations: 2.812 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.2057, allocations: 0 / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2057, allocations: 0 / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.206, allocations: 354.6 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.206, allocations: 0 / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.206, allocations: 16.41 kB / 449.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.206, allocations: 0 / 449.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.206, allocations: 2.594 kB / 449.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.206, allocations: 3.938 kB / 449.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.206, allocations: 3.141 kB / 449.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.2061, allocations: 223.4 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-06/0.2061, allocations: 6.797 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.2061, allocations: 7 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.2062, allocations: 0 / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.2062, allocations: 6.062 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2062, allocations: 9.656 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.703e-05/0.2063, allocations: 163.5 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2063, allocations: 0 / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001726/0.2064, allocations: 31.06 kB / 450.1 MB, free: 40.5 MB / 410.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.0007471/0.2072, allocations: 499.5 kB / 450.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.2073, allocations: 53.8 kB / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2073, allocations: 0 / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.2074, allocations: 35.89 kB / 450.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.2076, allocations: 35.28 kB / 450.7 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.2079, allocations: 265 kB / 451 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.098e-05/0.208, allocations: 103 kB / 451.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.208, allocations: 18.31 kB / 451.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.208, allocations: 6.844 kB / 451.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of Templates: time 0.002546/0.2105, allocations: 2.026 MB / 453.2 MB, free: 39.79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.654494076035917]