Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.0008343/0.0008343, 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.00358/0.00358, allocations: 161.5 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.8488/0.8488, allocations: 177.1 MB / 205 MB, free: 5.734 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.2629/0.2629, allocations: 34.26 MB / 295.7 MB, free: 0.6797 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.673e-05/3.879e-05, allocations: 2.281 kB / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.1935/0.1935, allocations: 1.672 MB / 445.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1947, allocations: 0.9557 MB / 446.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.1947, allocations: 2.281 kB / 446.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.1951, allocations: 72.86 kB / 446.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.1954, allocations: 103.6 kB / 446.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.1955, allocations: 74.27 kB / 446.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1957, allocations: 109.7 kB / 446.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.1957, allocations: 5.391 kB / 446.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.765e-05/0.1958, allocations: 61.78 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/0.1959, allocations: 45.84 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1959, allocations: 3.031 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.826e-05/0.196, allocations: 32.84 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.196, allocations: 23.53 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.1961, allocations: 14.12 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1962, allocations: 108.8 kB / 446.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1962, allocations: 1.812 kB / 446.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1962, allocations: 0 / 446.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1962, allocations: 0 / 446.8 MB, free: 43.08 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004116/0.1967, allocations: 339.1 kB / 447.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1967, allocations: 8.875 kB / 447.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.1967, allocations: 14 kB / 447.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.1969, allocations: 153.2 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.197, allocations: 4.312 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.197, allocations: 384 / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1971, allocations: 47 kB / 447.3 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1971, allocations: 7.281 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1971, allocations: 3.938 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1971, allocations: 3.031 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.1971, allocations: 18.52 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.1973, allocations: 128.2 kB / 447.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1974, allocations: 48.11 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.1974, allocations: 20.19 kB / 447.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.1974, allocations: 2.781 kB / 447.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.1975, allocations: 74.28 kB / 447.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.1975, allocations: 2.906 kB / 447.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001906/0.1977, allocations: 105.3 kB / 447.7 MB, free: 42.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.1977, allocations: 55.41 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1978, allocations: 191.7 kB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.1978, allocations: 29.7 kB / 448 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.1979, allocations: 101.3 kB / 448.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.1979, allocations: 18.69 kB / 448.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.1979, allocations: 20.42 kB / 448.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.557e-05/0.198, allocations: 325.7 kB / 448.5 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.198, allocations: 12.88 kB / 448.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.198, allocations: 33.91 kB / 448.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.587e-05/0.1981, allocations: 47.89 kB / 448.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1981, allocations: 5.75 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.155e-05/0.1982, allocations: 84.73 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1982, allocations: 5.812 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1982, allocations: 3.938 kB / 448.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1982, allocations: 0 / 448.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.954e-05/0.1983, allocations: 11.84 kB / 448.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1983, allocations: 6.75 kB / 448.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.1983, allocations: 6.828 kB / 448.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1983, allocations: 0 / 448.7 MB, free: 41.48 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 (7): * Single equations (assignments): 7 * 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.435e-05/0.1984, allocations: 134 kB / 448.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-06/0.1984, allocations: 9.766 kB / 448.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.1985, allocations: 105.9 kB / 448.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1985, allocations: 2.938 kB / 448.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1985, allocations: 0 / 448.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1985, allocations: 0 / 448.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.485e-05/0.1986, allocations: 129.4 kB / 449.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1986, allocations: 3.281 kB / 449.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.1986, allocations: 3 kB / 449.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1986, allocations: 2.938 kB / 449.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1986, allocations: 0 / 449.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1986, allocations: 7.938 kB / 449.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1986, allocations: 0 / 449.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.825e-05/0.1987, allocations: 120.9 kB / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.1987, allocations: 6.859 kB / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1987, allocations: 2.969 kB / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.678e-05/0.1987, allocations: 7.938 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.1988, allocations: 6.109 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1988, allocations: 2.969 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.756e-05/0.1988, allocations: 156.6 kB / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1988, allocations: 0 / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.199, allocations: 23.81 kB / 449.4 MB, free: 40.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006893/0.1997, allocations: 445.3 kB / 449.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.1998, allocations: 46.2 kB / 449.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.1998, allocations: 0 / 449.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.704e-05/0.1998, allocations: 19.22 kB / 449.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.2, allocations: 24.42 kB / 449.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.2003, allocations: 241.2 kB / 450.2 MB, free: 40.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.616e-05/0.2004, allocations: 90.09 kB / 450.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.2004, allocations: 14.06 kB / 450.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2004, allocations: 3.938 kB / 450.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of Templates: time 0.002373/0.2028, allocations: 1.779 MB / 452 MB, free: 40.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.873404577374458]