Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008628/0.0008628, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003565/0.003565, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8733/0.8733, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2537/0.2537, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.547e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.1985/0.1986, allocations: 1.703 MB / 445.2 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.2001, allocations: 1.678 MB / 446.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.2002, allocations: 2.844 kB / 446.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.2004, allocations: 37.05 kB / 446.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.2007, allocations: 105 kB / 447 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.2008, allocations: 80.19 kB / 447.1 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.201, allocations: 106.3 kB / 447.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.2011, allocations: 13.33 kB / 447.2 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.145e-05/0.2011, allocations: 60.19 kB / 447.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.959e-05/0.2012, allocations: 31.89 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.2012, allocations: 5.438 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.2013, allocations: 105.8 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.2014, allocations: 21.11 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.466e-05/0.2014, allocations: 30.88 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.2016, allocations: 170.6 kB / 447.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2016, allocations: 7.109 kB / 447.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2016, allocations: 0 / 447.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2016, allocations: 0 / 447.7 MB, free: 42.35 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.0003922/0.202, allocations: 354.7 kB / 448 MB, free: 42.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2021, allocations: 8.906 kB / 448 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.2021, allocations: 10.48 kB / 448 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.2023, allocations: 149 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2023, allocations: 3.25 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.2023, allocations: 4.328 kB / 448.2 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.2025, allocations: 105.1 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2025, allocations: 3.938 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2025, allocations: 4 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2025, allocations: 2.938 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.2025, allocations: 18.62 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.2028, allocations: 226.4 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.2029, allocations: 60.39 kB / 448.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.2029, allocations: 25.39 kB / 448.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.2029, allocations: 0.75 kB / 448.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.165e-05/0.203, allocations: 70.67 kB / 448.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.203, allocations: 3.562 kB / 448.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003576/0.2034, allocations: 177 kB / 448.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.2034, allocations: 77.11 kB / 448.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.2035, allocations: 168.9 kB / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.2035, allocations: 25.7 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.2035, allocations: 101.3 kB / 449.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.2035, allocations: 22.7 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.2035, allocations: 25.91 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.772e-05/0.2036, allocations: 328.9 kB / 449.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.2036, allocations: 26.98 kB / 449.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.2036, allocations: 74.72 kB / 449.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.266e-05/0.2037, allocations: 65.27 kB / 449.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2037, allocations: 0 / 449.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.698e-05/0.2038, allocations: 110 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2038, allocations: 5.812 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2038, allocations: 0 / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2038, allocations: 3.031 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.2039, allocations: 15.19 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2039, allocations: 5.984 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.2039, allocations: 2.844 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.2039, allocations: 2.906 kB / 449.9 MB, free: 40.47 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 4.685e-05/0.204, allocations: 130.8 kB / 450 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.204, allocations: 13.11 kB / 450 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.2041, allocations: 118 kB / 450.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2041, allocations: 3.875 kB / 450.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2041, allocations: 3.469 kB / 450.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2041, allocations: 4 kB / 450.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.2043, allocations: 348.9 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2043, allocations: 0 / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.2044, allocations: 11.89 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2044, allocations: 0 / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.2044, allocations: 2.781 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2044, allocations: 1.641 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2044, allocations: 6.281 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.2045, allocations: 212.9 kB / 450.7 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-06/0.2045, allocations: 14.77 kB / 450.7 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2045, allocations: 6.156 kB / 450.7 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.173e-05/0.2045, allocations: 2.719 kB / 450.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.2046, allocations: 10.22 kB / 450.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.2046, allocations: 2.688 kB / 450.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.267e-05/0.2046, allocations: 139.5 kB / 450.9 MB, free: 39.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2046, allocations: 0 / 450.9 MB, free: 39.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.2048, allocations: 52.16 kB / 451 MB, free: 39.69 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.0008244/0.2056, allocations: 0.5733 MB / 451.5 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.2058, allocations: 63 kB / 451.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.2058, allocations: 3.938 kB / 451.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.74e-05/0.2058, allocations: 35.75 kB / 451.6 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.206, allocations: 25.88 kB / 451.7 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.2063, allocations: 232.7 kB / 451.9 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.421e-05/0.2063, allocations: 90.16 kB / 452 MB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.2064, allocations: 20.47 kB / 452 MB, free: 39.16 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2064, allocations: 0 / 452 MB, free: 39.16 MB / 410.7 MB Notification: Performance of Templates: time 0.002594/0.209, allocations: 2.467 MB / 454.5 MB, free: 38.87 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.956095239147544]