Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.0008229/0.0008229, 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.003992/0.003992, allocations: 160.2 kB / 24.7 MB, free: 9.418 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.8883/0.8883, allocations: 177.2 MB / 205 MB, free: 5.719 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.2442/0.2442, allocations: 34.25 MB / 295.7 MB, free: 0.6914 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.086e-05, allocations: 2.281 kB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.1925/0.1925, allocations: 1.868 MB / 445.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1938, allocations: 1.075 MB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.1938, allocations: 6.844 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.1942, allocations: 263.6 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.1945, allocations: 233.2 kB / 447 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.1947, allocations: 124.2 kB / 447.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1949, allocations: 278.2 kB / 447.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.195, allocations: 18.48 kB / 447.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1951, allocations: 154.2 kB / 447.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1952, allocations: 199.6 kB / 447.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.1953, allocations: 9.375 kB / 447.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.519e-05/0.1953, allocations: 62.69 kB / 447.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.1954, allocations: 69.5 kB / 447.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.1955, allocations: 51.88 kB / 447.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1957, allocations: 249.6 kB / 448.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1957, allocations: 0.5 kB / 448.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1957, allocations: 1.094 kB / 448.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1957, allocations: 0 / 448.2 MB, free: 42.62 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005115/0.1962, allocations: 0.5213 MB / 448.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1962, allocations: 8.531 kB / 448.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.1963, allocations: 34.98 kB / 448.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1966, allocations: 236.2 kB / 449 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1966, allocations: 7.156 kB / 449 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1966, allocations: 6.094 kB / 449 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1968, allocations: 119.6 kB / 449.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1968, allocations: 3.938 kB / 449.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1968, allocations: 8 kB / 449.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1968, allocations: 2.938 kB / 449.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.031e-05/0.1969, allocations: 47.03 kB / 449.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.1972, allocations: 420.6 kB / 449.6 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.1975, allocations: 120.3 kB / 449.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.1975, allocations: 41.78 kB / 449.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1975, allocations: 6.844 kB / 449.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.1977, allocations: 122.5 kB / 449.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1977, allocations: 0 / 449.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007158/0.1984, allocations: 0.5334 MB / 450.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.1984, allocations: 83.89 kB / 450.5 MB, free: 41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.1987, allocations: 0.4937 MB / 450.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1987, allocations: 32.67 kB / 451 MB, free: 40.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.1988, allocations: 175.8 kB / 451.1 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1988, allocations: 78.06 kB / 451.2 MB, free: 40.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.1988, allocations: 45.67 kB / 451.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.1989, allocations: 350.9 kB / 451.6 MB, free: 40.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.858e-05/0.1989, allocations: 58.92 kB / 451.7 MB, free: 40.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.199, allocations: 96.5 kB / 451.8 MB, free: 40.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1992, allocations: 160.5 kB / 451.9 MB, free: 40.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1992, allocations: 0 / 451.9 MB, free: 40.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002082/0.1994, allocations: 243.2 kB / 452.2 MB, free: 39.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1994, allocations: 6.875 kB / 452.2 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1994, allocations: 2.781 kB / 452.2 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1994, allocations: 2.531 kB / 452.2 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.475e-05/0.1995, allocations: 49.73 kB / 452.2 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1995, allocations: 3.938 kB / 452.2 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.1995, allocations: 9.438 kB / 452.2 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1995, allocations: 9.016 kB / 452.2 MB, free: 39.9 MB / 410.7 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.998e-05/0.1996, allocations: 178.2 kB / 452.4 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.1997, allocations: 44.42 kB / 452.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.1999, allocations: 281.6 kB / 452.7 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1999, allocations: 2.344 kB / 452.7 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1999, allocations: 3.938 kB / 452.7 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1999, allocations: 2.812 kB / 452.7 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.2004, allocations: 0.686 MB / 453.4 MB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.2004, allocations: 3.062 kB / 453.4 MB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.2005, allocations: 31.19 kB / 453.5 MB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2005, allocations: 4.344 kB / 453.5 MB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2005, allocations: 9.906 kB / 453.5 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2005, allocations: 9.734 kB / 453.5 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2005, allocations: 3.938 kB / 453.5 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.2007, allocations: 443.5 kB / 453.9 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.2007, allocations: 30.61 kB / 454 MB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.2007, allocations: 9.438 kB / 454 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.2008, allocations: 6.203 kB / 454 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.2009, allocations: 27.28 kB / 454 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.2009, allocations: 18.12 kB / 454 MB, free: 38.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.2011, allocations: 379.6 kB / 454.4 MB, free: 38.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2011, allocations: 192 / 454.4 MB, free: 38.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000218/0.2013, allocations: 54 kB / 454.4 MB, free: 38.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.0008394/0.2021, allocations: 0.5564 MB / 455 MB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.2023, allocations: 167.9 kB / 455.2 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2023, allocations: 0 / 455.2 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.095e-05/0.2024, allocations: 80.52 kB / 455.2 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.2027, allocations: 58.69 kB / 455.3 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.2033, allocations: 0.6415 MB / 455.9 MB, free: 37.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.2034, allocations: 180.7 kB / 456.1 MB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.2035, allocations: 29.88 kB / 456.1 MB, free: 37.83 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2035, allocations: 0 / 456.1 MB, free: 37.83 MB / 410.7 MB Notification: Performance of Templates: time 0.003606/0.2071, allocations: 4.009 MB / 460.1 MB, free: 37.32 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.80270713660866]