Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.0007743/0.0007743, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007885/0.0007885, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8771/0.8771, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.2729/0.2729, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.903e-05, allocations: 5.234 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.1927/0.1927, allocations: 1.661 MB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1939, allocations: 0.966 MB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.1939, allocations: 0 / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.1943, allocations: 50.11 kB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.1946, allocations: 104.8 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.1947, allocations: 75.11 kB / 445.1 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1949, allocations: 103.1 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.1949, allocations: 7.953 kB / 445.2 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.767e-05/0.195, allocations: 54.67 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.1951, allocations: 20.62 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1951, allocations: 9.25 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.335e-05/0.1952, allocations: 38.62 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.1952, allocations: 30.09 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.1953, allocations: 19.94 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1955, allocations: 113.3 kB / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1955, allocations: 3.375 kB / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1955, allocations: 2.281 kB / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1955, allocations: 0 / 445.5 MB, free: 42.95 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.0004099/0.1959, allocations: 365.4 kB / 445.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1959, allocations: 11.58 kB / 445.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.293e-05/0.196, allocations: 37.66 kB / 445.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.196, allocations: 14.25 kB / 445.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1962, allocations: 158.8 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1962, allocations: 7.688 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.1962, allocations: 8.594 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.1963, allocations: 48.53 kB / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1963, allocations: 0 / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1963, allocations: 2.594 kB / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1963, allocations: 0 / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.605e-05/0.1964, allocations: 15 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.1965, allocations: 166.9 kB / 446.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1966, allocations: 52.8 kB / 446.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.1967, allocations: 17.58 kB / 446.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.1967, allocations: 2.594 kB / 446.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.1968, allocations: 70.7 kB / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.1968, allocations: 2.297 kB / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001895/0.197, allocations: 105.2 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.197, allocations: 55.84 kB / 446.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.1972, allocations: 278.2 kB / 446.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.1972, allocations: 25.7 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.1972, allocations: 117.1 kB / 447 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.1972, allocations: 17.62 kB / 447 MB, free: 41.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.1973, allocations: 20.94 kB / 447.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.1973, allocations: 327.5 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.756e-05/0.1973, allocations: 18.91 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.1974, allocations: 31.16 kB / 447.4 MB, free: 41.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.1974, allocations: 47.03 kB / 447.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1974, allocations: 0 / 447.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.501e-05/0.1975, allocations: 96.62 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1975, allocations: 5.781 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1975, allocations: 0 / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1976, allocations: 0 / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.1976, allocations: 8.656 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1976, allocations: 3 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.691e-05/0.1977, allocations: 11.2 kB / 447.6 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1977, allocations: 6.719 kB / 447.6 MB, free: 41.4 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 7.588e-05/0.1978, allocations: 132.8 kB / 447.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.1978, allocations: 20.66 kB / 447.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.1979, allocations: 99.75 kB / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1979, allocations: 0 / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1979, allocations: 0 / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.198, allocations: 0 / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.1981, allocations: 173.1 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1981, allocations: 0 / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.1981, allocations: 10.03 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.1981, allocations: 8.438 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1981, allocations: 3.938 kB / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1981, allocations: 0 / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1981, allocations: 0 / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.1982, allocations: 120.8 kB / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.1982, allocations: 17.56 kB / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1982, allocations: 0 / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/0.1983, allocations: 2.938 kB / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.1983, allocations: 3.281 kB / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1983, allocations: 7 kB / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1984, allocations: 212.5 kB / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1984, allocations: 0 / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001592/0.1986, allocations: 18.38 kB / 448.4 MB, free: 40.91 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.000936/0.1995, allocations: 1.005 MB / 449.4 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.1996, allocations: 39.47 kB / 449.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1996, allocations: 3.938 kB / 449.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.1997, allocations: 21.47 kB / 449.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1999, allocations: 32.59 kB / 449.5 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.201, allocations: 1.692 MB / 451.2 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.702e-05/0.2011, allocations: 104.3 kB / 451.3 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.266e-05/0.2012, allocations: 12.48 kB / 451.3 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.2012, allocations: 41.72 kB / 451.4 MB, free: 38.79 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2012, allocations: 4 kB / 451.4 MB, free: 38.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.2218, allocations: 4.32 MB / 455.7 MB, free: 37.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.651/6.872, allocations: 9.812 kB / 455.7 MB, free: 37.38 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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: 8.862902005203068]