Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.001098/0.001098, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001119/0.001119, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9215/0.9215, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1348/0.1348, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.775e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003195/0.003212, allocations: 1.727 MB / 300.9 MB, free: 396 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1902/0.1935, allocations: 0.7977 MB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1936, allocations: 4.719 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.1939, allocations: 52.47 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1941, allocations: 65.16 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1944, allocations: 89.41 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1946, allocations: 97.95 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1948, allocations: 5.25 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1949, allocations: 57.64 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.195, allocations: 26.27 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.195, allocations: 3.531 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1952, allocations: 43.53 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.1952, allocations: 29.67 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.1953, allocations: 22.61 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.1955, allocations: 108.3 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1955, allocations: 1.062 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1955, allocations: 1.312 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1955, allocations: 0.5938 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004384/0.1959, allocations: 348.8 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.196, allocations: 10.44 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.196, allocations: 13.39 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.1962, allocations: 146.3 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.1962, allocations: 2.094 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.1962, allocations: 6.344 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1964, allocations: 62.17 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1964, allocations: 5.156 kB / 302.8 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1964, allocations: 3.75 kB / 302.9 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1964, allocations: 1.891 kB / 302.9 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.045e-05/0.1964, allocations: 12.3 kB / 302.9 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.1967, allocations: 171 kB / 303 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1968, allocations: 84.98 kB / 303.1 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.1968, allocations: 12.7 kB / 303.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.1969, allocations: 2.438 kB / 303.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.788e-05/0.197, allocations: 73.03 kB / 303.2 MB, free: 18.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.425e-06/0.197, allocations: 0 / 303.2 MB, free: 18.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003304/0.1973, allocations: 113.5 kB / 303.3 MB, free: 18.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.1973, allocations: 54.11 kB / 303.4 MB, free: 18.26 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1974, allocations: 207.8 kB / 303.6 MB, free: 18.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1975, allocations: 26.98 kB / 303.6 MB, free: 18.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.1975, allocations: 97.59 kB / 303.7 MB, free: 18.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.1975, allocations: 31.78 kB / 303.7 MB, free: 18.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.1975, allocations: 24.44 kB / 303.7 MB, free: 17.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.828e-05/0.1976, allocations: 327.5 kB / 304.1 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.1976, allocations: 9.703 kB / 304.1 MB, free: 17.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/0.1976, allocations: 27.94 kB / 304.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.241e-05/0.1977, allocations: 43.36 kB / 304.1 MB, free: 17.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1977, allocations: 1.094 kB / 304.1 MB, free: 17.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.289e-05/0.1978, allocations: 75.19 kB / 304.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1978, allocations: 6.297 kB / 304.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1978, allocations: 0.75 kB / 304.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1978, allocations: 5.469 kB / 304.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.1979, allocations: 18.8 kB / 304.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1979, allocations: 1.812 kB / 304.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.1979, allocations: 3.641 kB / 304.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1979, allocations: 4.516 kB / 304.3 MB, free: 17.59 MB / 282.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 (10): * Single equations (assignments): 10 * 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.464e-05/0.198, allocations: 118.6 kB / 304.4 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.198, allocations: 14.16 kB / 304.4 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.1981, allocations: 79.5 kB / 304.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1981, allocations: 5.922 kB / 304.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1981, allocations: 1.312 kB / 304.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1981, allocations: 0.5625 kB / 304.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.1984, allocations: 299.7 kB / 304.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1984, allocations: 1.5 kB / 304.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.1984, allocations: 9.438 kB / 304.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1984, allocations: 1.094 kB / 304.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.1984, allocations: 6.281 kB / 304.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1984, allocations: 0 / 304.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1984, allocations: 1.797 kB / 304.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.658e-05/0.1985, allocations: 226.1 kB / 305 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.1985, allocations: 13.2 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.1986, allocations: 3.203 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.346e-05/0.1986, allocations: 6.469 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.1986, allocations: 6.422 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1986, allocations: 3.5 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.474e-05/0.1987, allocations: 78.64 kB / 305.1 MB, free: 16.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1987, allocations: 1.188 kB / 305.1 MB, free: 16.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001621/0.1989, allocations: 26.42 kB / 305.1 MB, free: 16.96 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001208/0.2001, allocations: 0.5632 MB / 305.7 MB, free: 16.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.2002, allocations: 45.55 kB / 305.8 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.2002, allocations: 5.031 kB / 305.8 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.2003, allocations: 29.06 kB / 305.8 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.2005, allocations: 42.92 kB / 305.8 MB, free: 16.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.2009, allocations: 250.4 kB / 306.1 MB, free: 16.42 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.015e-05/0.201, allocations: 76.61 kB / 306.1 MB, free: 16.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.526e-05/0.201, allocations: 11.97 kB / 306.2 MB, free: 16.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.923e-05/0.2011, allocations: 66.83 kB / 306.2 MB, free: 16.3 MB / 282.7 MB Notification: Performance of SimCode: time 1.853e-06/0.2011, allocations: 0 / 306.2 MB, free: 16.3 MB / 282.7 MB Notification: Performance of Templates: time 0.00557/0.2067, allocations: 2.025 MB / 308.2 MB, free: 16.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1150573398917913]