Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001118/0.001118, 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.003954/0.003954, allocations: 163.3 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.8917/0.8917, allocations: 177.1 MB / 205 MB, free: 5.723 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.2533/0.2533, allocations: 32.8 MB / 294.2 MB, free: 1.191 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.75e-05, allocations: 2.281 kB / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002313/0.00234, allocations: 1.749 MB / 442.7 MB, free: 1.895 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003526, allocations: 0.9819 MB / 443.7 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.869e-05/0.003614, allocations: 4 kB / 443.7 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.003942, allocations: 103.6 kB / 443.8 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.004287, allocations: 131.4 kB / 443.9 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.004507, allocations: 83.59 kB / 444 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.004727, allocations: 143.6 kB / 444.1 MB, free: 460 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.004844, allocations: 21.45 kB / 444.1 MB, free: 436 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.004955, allocations: 83.73 kB / 444.2 MB, free: 352 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.005061, allocations: 67.84 kB / 444.3 MB, free: 284 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.005078, allocations: 4 kB / 444.3 MB, free: 280 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.005184, allocations: 63.92 kB / 444.4 MB, free: 216 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.005245, allocations: 35.84 kB / 444.4 MB, free: 180 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.005289, allocations: 19.92 kB / 444.4 MB, free: 160 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1915/0.1968, allocations: 165.6 kB / 444.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1968, allocations: 0 / 444.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1968, allocations: 0 / 444.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.1968, allocations: 1.312 kB / 444.6 MB, free: 44.1 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005654/0.1974, allocations: 385.4 kB / 445 MB, free: 43.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1974, allocations: 11.69 kB / 445 MB, free: 43.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.1975, allocations: 21.67 kB / 445 MB, free: 43.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.1978, allocations: 162.3 kB / 445.1 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1978, allocations: 5.188 kB / 445.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.1978, allocations: 3.969 kB / 445.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1979, allocations: 78.73 kB / 445.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.198, allocations: 0.75 kB / 445.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.198, allocations: 4.688 kB / 445.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.198, allocations: 2.812 kB / 445.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.1981, allocations: 43.8 kB / 445.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.1984, allocations: 269.8 kB / 445.5 MB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.1986, allocations: 76.78 kB / 445.6 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.1987, allocations: 33.81 kB / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1987, allocations: 1.125 kB / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.1988, allocations: 84.45 kB / 445.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.1988, allocations: 0 / 445.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000611/0.1994, allocations: 324.3 kB / 446.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.1994, allocations: 54.03 kB / 446.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1996, allocations: 267.5 kB / 446.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.1996, allocations: 25.7 kB / 446.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.1996, allocations: 124.9 kB / 446.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1997, allocations: 45.3 kB / 446.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.1997, allocations: 34.78 kB / 446.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.578e-05/0.1998, allocations: 329.3 kB / 446.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.1998, allocations: 41.03 kB / 447 MB, free: 42.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-05/0.1999, allocations: 62.27 kB / 447 MB, free: 42.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.2, allocations: 105.4 kB / 447.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2, allocations: 0 / 447.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001659/0.2001, allocations: 167.5 kB / 447.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2002, allocations: 5.562 kB / 447.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2002, allocations: 5.859 kB / 447.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2002, allocations: 0.5625 kB / 447.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.2002, allocations: 29.38 kB / 447.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2002, allocations: 3.219 kB / 447.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/0.2003, allocations: 6.469 kB / 447.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.2003, allocations: 8.422 kB / 447.3 MB, free: 42.55 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 (16): * Single equations (assignments): 16 * 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 7.133e-05/0.2004, allocations: 140.1 kB / 447.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.2004, allocations: 22.77 kB / 447.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.2006, allocations: 197.4 kB / 447.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2006, allocations: 0 / 447.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2006, allocations: 5.75 kB / 447.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2006, allocations: 6.984 kB / 447.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.201, allocations: 459.7 kB / 448.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.201, allocations: 6.438 kB / 448.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.201, allocations: 17.16 kB / 448.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.201, allocations: 2.781 kB / 448.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2011, allocations: 6 kB / 448.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2011, allocations: 8.094 kB / 448.2 MB, free: 42.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2011, allocations: 3.281 kB / 448.2 MB, free: 42.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.2012, allocations: 277 kB / 448.5 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.2012, allocations: 12.88 kB / 448.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.2013, allocations: 16.17 kB / 448.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.486e-05/0.2013, allocations: 2.469 kB / 448.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.2013, allocations: 15.59 kB / 448.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.2014, allocations: 5.375 kB / 448.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.669e-05/0.2015, allocations: 201.3 kB / 448.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2015, allocations: 0.5 kB / 448.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.2016, allocations: 42 kB / 448.8 MB, free: 41.88 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 (16): * Single equations (assignments): 14 * 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.0008811/0.2025, allocations: 0.5541 MB / 449.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.2027, allocations: 104.8 kB / 449.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2027, allocations: 1.312 kB / 449.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.392e-05/0.2028, allocations: 54.38 kB / 449.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.203, allocations: 35.62 kB / 449.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.2035, allocations: 377.5 kB / 449.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.345e-05/0.2036, allocations: 113 kB / 450 MB, free: 41.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.2036, allocations: 22.78 kB / 450 MB, free: 41.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2036, allocations: 0 / 450 MB, free: 41.43 MB / 410.7 MB Notification: Performance of Templates: time 0.00312/0.2068, allocations: 2.634 MB / 452.6 MB, free: 41.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.015297562815249]