Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.0008507/0.0008507, allocations: 83.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.003349/0.003349, allocations: 160.1 kB / 24.7 MB, free: 9.414 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.9605/0.9605, 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.2523/0.2523, allocations: 32.8 MB / 294.2 MB, free: 1.207 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 440.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.366e-05, allocations: 6.219 kB / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002503/0.002537, allocations: 1.677 MB / 442.6 MB, free: 1.969 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.00382, allocations: 0.9536 MB / 443.6 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.589e-05/0.003906, allocations: 7.938 kB / 443.6 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.004266, allocations: 51.81 kB / 443.6 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.004598, allocations: 99.47 kB / 443.7 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.004779, allocations: 75.61 kB / 443.8 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.00496, allocations: 103.7 kB / 443.9 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.005016, allocations: 12.16 kB / 443.9 MB, free: 0.668 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.74e-05/0.005113, allocations: 55.78 kB / 444 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.8e-05/0.005191, allocations: 23.91 kB / 444 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.005208, allocations: 4 kB / 444 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.685e-05/0.005285, allocations: 27.98 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.005345, allocations: 27.92 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.005387, allocations: 23.86 kB / 444.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.005588, allocations: 115.6 kB / 444.2 MB, free: 404 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.005593, allocations: 0 / 444.2 MB, free: 404 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005594, allocations: 4 kB / 444.2 MB, free: 400 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.0056, allocations: 4 kB / 444.2 MB, free: 396 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005202/0.00612, allocations: 365.3 kB / 444.5 MB, free: 0 / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.1906/0.1967, allocations: 8.984 kB / 444.6 MB, free: 46.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.568e-05/0.1968, allocations: 21.11 kB / 444.6 MB, free: 46.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1971, allocations: 154.6 kB / 444.7 MB, free: 46.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1971, allocations: 2.266 kB / 444.7 MB, free: 46.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.1971, allocations: 3.188 kB / 444.7 MB, free: 46.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1973, allocations: 53.08 kB / 444.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1973, allocations: 0 / 444.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1973, allocations: 0 / 444.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1973, allocations: 1.875 kB / 444.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.929e-05/0.1973, allocations: 24.72 kB / 444.8 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.1975, allocations: 145 kB / 444.9 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1976, allocations: 57.09 kB / 445 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.1976, allocations: 20.84 kB / 445 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.1976, allocations: 0 / 445 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.1977, allocations: 63.72 kB / 445.1 MB, free: 46.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1977, allocations: 0 / 445.1 MB, free: 46.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002103/0.1979, allocations: 104.5 kB / 445.2 MB, free: 46.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.198, allocations: 59.78 kB / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1981, allocations: 274 kB / 445.5 MB, free: 46.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.1981, allocations: 30.3 kB / 445.5 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.1982, allocations: 115.9 kB / 445.7 MB, free: 46.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.1982, allocations: 15.92 kB / 445.7 MB, free: 46.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.1982, allocations: 15.81 kB / 445.7 MB, free: 46.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.1983, allocations: 329.9 kB / 446 MB, free: 45.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/0.1983, allocations: 15.89 kB / 446 MB, free: 45.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.1983, allocations: 35.97 kB / 446.1 MB, free: 45.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.675e-05/0.1984, allocations: 46.11 kB / 446.1 MB, free: 45.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1984, allocations: 2.297 kB / 446.1 MB, free: 45.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.655e-05/0.1985, allocations: 89.44 kB / 446.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1985, allocations: 5.594 kB / 446.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1985, allocations: 0 / 446.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1985, allocations: 2.625 kB / 446.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.1986, allocations: 9.031 kB / 446.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1986, allocations: 11.02 kB / 446.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.1986, allocations: 2.5 kB / 446.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1986, allocations: 6.375 kB / 446.2 MB, free: 45.72 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 6.874e-05/0.1987, allocations: 135.1 kB / 446.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.1987, allocations: 14.09 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.1988, allocations: 102.8 kB / 446.5 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1988, allocations: 3.531 kB / 446.5 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1988, allocations: 2.688 kB / 446.5 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1988, allocations: 3.938 kB / 446.5 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.087e-05/0.1989, allocations: 144.6 kB / 446.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1989, allocations: 2.781 kB / 446.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.881e-05/0.1989, allocations: 13.69 kB / 446.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1989, allocations: 0 / 446.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1989, allocations: 0 / 446.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1989, allocations: 3.047 kB / 446.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.199, allocations: 4.844 kB / 446.7 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.979e-05/0.199, allocations: 125.5 kB / 446.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.1991, allocations: 13.75 kB / 446.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1991, allocations: 4 kB / 446.8 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/0.1991, allocations: 3.031 kB / 446.8 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.1991, allocations: 6 kB / 446.8 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1991, allocations: 0 / 446.8 MB, free: 45.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.57e-05/0.1992, allocations: 218.3 kB / 447 MB, free: 45.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1992, allocations: 3.938 kB / 447 MB, free: 45.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001451/0.1994, allocations: 24.61 kB / 447 MB, free: 45.23 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.0007014/0.2001, allocations: 434.5 kB / 447.5 MB, free: 45.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.2002, allocations: 36.47 kB / 447.5 MB, free: 45.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2002, allocations: 64 / 447.5 MB, free: 45.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.397e-05/0.2002, allocations: 25.77 kB / 447.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.2004, allocations: 29.72 kB / 447.6 MB, free: 45.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.2008, allocations: 296.8 kB / 447.8 MB, free: 44.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.319e-05/0.2008, allocations: 108.1 kB / 448 MB, free: 44.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.2009, allocations: 13.72 kB / 448 MB, free: 44.79 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.2009, allocations: 0 / 448 MB, free: 44.79 MB / 410.7 MB Notification: Performance of Templates: time 0.00258/0.2034, allocations: 1.955 MB / 449.9 MB, free: 44.55 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.9777506943792105]