Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.0008685/0.0008685, 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.003404/0.003404, allocations: 165.3 kB / 24.7 MB, free: 9.426 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.9093/0.9093, allocations: 177.1 MB / 205 MB, free: 5.719 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.2456/0.2456, allocations: 32.79 MB / 294.2 MB, free: 1.211 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 440.9 MB, free: 3.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.12e-05, allocations: 12.05 kB / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002529/0.00255, allocations: 1.892 MB / 442.8 MB, free: 1.754 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.00374, allocations: 1.019 MB / 443.8 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.994e-05/0.00383, allocations: 0 / 443.8 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.004138, allocations: 47.64 kB / 443.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.004411, allocations: 103.4 kB / 444 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.004579, allocations: 95.58 kB / 444.1 MB, free: 500 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.004783, allocations: 147.5 kB / 444.2 MB, free: 352 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.004906, allocations: 21.8 kB / 444.2 MB, free: 332 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.947e-05/0.005005, allocations: 83.69 kB / 444.3 MB, free: 248 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.005093, allocations: 35.89 kB / 444.4 MB, free: 212 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.005111, allocations: 8 kB / 444.4 MB, free: 204 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.841e-05/0.00519, allocations: 51.91 kB / 444.4 MB, free: 152 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.005248, allocations: 27.86 kB / 444.5 MB, free: 124 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.005298, allocations: 31.91 kB / 444.5 MB, free: 92 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1884/0.1937, allocations: 151.3 kB / 444.6 MB, free: 44.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1937, allocations: 2.781 kB / 444.6 MB, free: 44.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1937, allocations: 0 / 444.6 MB, free: 44.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1937, allocations: 0 / 444.6 MB, free: 44.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005062/0.1942, allocations: 410.8 kB / 445 MB, free: 43.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1943, allocations: 8.469 kB / 445 MB, free: 43.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.1943, allocations: 17.5 kB / 445.1 MB, free: 43.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.1945, allocations: 171.9 kB / 445.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1945, allocations: 8.25 kB / 445.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.1946, allocations: 8.344 kB / 445.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1947, allocations: 136.7 kB / 445.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1947, allocations: 0 / 445.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1947, allocations: 9.156 kB / 445.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1948, allocations: 3.656 kB / 445.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.276e-05/0.1948, allocations: 55.66 kB / 445.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.1952, allocations: 450.9 kB / 445.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.1954, allocations: 85.77 kB / 446 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.1954, allocations: 36.28 kB / 446 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.1955, allocations: 2.938 kB / 446 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.1956, allocations: 118.5 kB / 446.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1956, allocations: 0 / 446.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.00024/0.1958, allocations: 145.9 kB / 446.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/0.1958, allocations: 51.41 kB / 446.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1959, allocations: 209.1 kB / 446.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.196, allocations: 25.7 kB / 446.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.196, allocations: 127.3 kB / 446.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.196, allocations: 26.03 kB / 446.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.196, allocations: 29.27 kB / 446.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.131e-05/0.1961, allocations: 334.7 kB / 447 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.1961, allocations: 26 kB / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.1962, allocations: 67.42 kB / 447.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.259e-05/0.1963, allocations: 101.4 kB / 447.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1963, allocations: 0 / 447.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001304/0.1964, allocations: 142.9 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1964, allocations: 5.594 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1964, allocations: 8.891 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1964, allocations: 2.906 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.176e-05/0.1965, allocations: 20.92 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1965, allocations: 2.844 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.159e-05/0.1965, allocations: 10.38 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1965, allocations: 5.75 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.543e-05/0.1966, allocations: 134.7 kB / 447.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.1966, allocations: 13.78 kB / 447.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.1967, allocations: 138.9 kB / 447.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1967, allocations: 7.781 kB / 447.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1967, allocations: 0 / 447.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1967, allocations: 0.8125 kB / 447.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.027e-05/0.1968, allocations: 158.3 kB / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1968, allocations: 0.625 kB / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.1969, allocations: 14.88 kB / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1969, allocations: 0.5625 kB / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1969, allocations: 3.812 kB / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1969, allocations: 2.688 kB / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1969, allocations: 0 / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.1971, allocations: 197.4 kB / 448.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.1971, allocations: 18.66 kB / 448.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1971, allocations: 2.969 kB / 448.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.528e-05/0.1971, allocations: 6.141 kB / 448.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.1971, allocations: 9.984 kB / 448.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1972, allocations: 8.375 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.961e-05/0.1972, allocations: 152 kB / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1972, allocations: 0 / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001477/0.1974, allocations: 26.16 kB / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006414/0.198, allocations: 441.8 kB / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.1981, allocations: 85.16 kB / 448.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1981, allocations: 0 / 448.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.897e-05/0.1982, allocations: 44.38 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.1984, allocations: 41.81 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.1987, allocations: 288.1 kB / 449.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.361e-05/0.1988, allocations: 100.5 kB / 449.3 MB, free: 41.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.1988, allocations: 16.81 kB / 449.3 MB, free: 41.3 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1988, allocations: 6.594 kB / 449.3 MB, free: 41.3 MB / 410.7 MB Notification: Performance of Templates: time 0.002374/0.2012, allocations: 2.268 MB / 451.6 MB, free: 41.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.137046276591718]