Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001139/0.001139, allocations: 87.62 kB / 21.44 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.00533/0.00533, allocations: 160.5 kB / 24.7 MB, free: 9.43 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.9217/0.9217, allocations: 177.1 MB / 205 MB, free: 5.715 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.2523/0.2523, allocations: 32.79 MB / 294.2 MB, free: 1.188 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.006e-05, allocations: 10.22 kB / 440.9 MB, free: 3.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002294/0.002324, allocations: 1.712 MB / 442.7 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.003617, allocations: 0.9742 MB / 443.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.76e-05/0.003715, allocations: 7.938 kB / 443.6 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.004033, allocations: 35.77 kB / 443.7 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.004385, allocations: 103.4 kB / 443.8 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.004597, allocations: 75.67 kB / 443.8 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.004765, allocations: 107.6 kB / 443.9 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.004868, allocations: 7.984 kB / 444 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.004972, allocations: 51.84 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.927e-05/0.005062, allocations: 27.91 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.005079, allocations: 4 kB / 444 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.915e-05/0.005178, allocations: 43.92 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.00524, allocations: 27.91 kB / 444.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.005283, allocations: 23.86 kB / 444.1 MB, free: 444 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.005486, allocations: 111.5 kB / 444.2 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.005491, allocations: 4 kB / 444.2 MB, free: 328 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.005493, allocations: 0 / 444.2 MB, free: 328 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.005498, allocations: 0 / 444.2 MB, free: 328 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.1917/0.1972, allocations: 335.6 kB / 444.6 MB, free: 46.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1973, allocations: 9.562 kB / 444.6 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.1973, allocations: 10.33 kB / 444.6 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.1976, allocations: 142.2 kB / 444.7 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1976, allocations: 3.094 kB / 444.7 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.1976, allocations: 10.09 kB / 444.7 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.1978, allocations: 52.61 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1978, allocations: 0.7188 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1978, allocations: 0.625 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.1978, allocations: 3.469 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.638e-05/0.1978, allocations: 32.58 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.1981, allocations: 227.7 kB / 445.1 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1982, allocations: 52.77 kB / 445.1 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.1983, allocations: 28.78 kB / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.1983, allocations: 0.5 kB / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.1984, allocations: 73.75 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1984, allocations: 0 / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004564/0.1989, allocations: 183.2 kB / 445.4 MB, free: 46.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.1989, allocations: 54.31 kB / 445.4 MB, free: 46.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.199, allocations: 177.2 kB / 445.6 MB, free: 46.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.199, allocations: 25.7 kB / 445.6 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.199, allocations: 104.8 kB / 445.7 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1991, allocations: 28.53 kB / 445.8 MB, free: 46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.1991, allocations: 25.91 kB / 445.8 MB, free: 45.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.166e-05/0.1991, allocations: 319.7 kB / 446.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.153e-05/0.1992, allocations: 21.94 kB / 446.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.1992, allocations: 43.3 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.798e-05/0.1993, allocations: 58.98 kB / 446.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1993, allocations: 0 / 446.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001092/0.1994, allocations: 117.9 kB / 446.3 MB, free: 45.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1994, allocations: 5.75 kB / 446.3 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1994, allocations: 0 / 446.3 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1994, allocations: 6.469 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.1995, allocations: 18.53 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1995, allocations: 2.188 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.1995, allocations: 2.875 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1995, allocations: 6.031 kB / 446.4 MB, free: 45.6 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.803e-05/0.1996, allocations: 124.9 kB / 446.5 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.1996, allocations: 17.45 kB / 446.5 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.1998, allocations: 119.7 kB / 446.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1998, allocations: 0 / 446.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1998, allocations: 2.844 kB / 446.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1998, allocations: 0 / 446.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.2001, allocations: 347.9 kB / 447 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2001, allocations: 0 / 447 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.2001, allocations: 11.7 kB / 447 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2001, allocations: 2.938 kB / 447 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2001, allocations: 3.562 kB / 447 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.2001, allocations: 1.25 kB / 447 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2001, allocations: 3.031 kB / 447 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.2002, allocations: 213.1 kB / 447.2 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.2002, allocations: 10.86 kB / 447.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2003, allocations: 2.844 kB / 447.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.085e-05/0.2003, allocations: 3.422 kB / 447.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.2003, allocations: 13.39 kB / 447.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.2003, allocations: 9.656 kB / 447.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.734e-05/0.2004, allocations: 133.6 kB / 447.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2004, allocations: 4.406 kB / 447.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.2006, allocations: 29 kB / 447.4 MB, free: 44.88 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.0008428/0.2014, allocations: 488.4 kB / 447.9 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.2016, allocations: 56.2 kB / 447.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2016, allocations: 8 kB / 448 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.592e-05/0.2016, allocations: 29.5 kB / 448 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.2019, allocations: 32.72 kB / 448 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.2023, allocations: 239.1 kB / 448.2 MB, free: 44.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.44e-05/0.2023, allocations: 87.17 kB / 448.3 MB, free: 44.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.2023, allocations: 17.5 kB / 448.3 MB, free: 44.43 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2023, allocations: 6.812 kB / 448.4 MB, free: 44.43 MB / 410.7 MB Notification: Performance of Templates: time 0.002806/0.2051, allocations: 1.965 MB / 450.3 MB, free: 44.21 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.9799251165241]