Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.0008022/0.0008022, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008761/0.0008761, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8908/0.8908, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2502/0.2502, allocations: 32.8 MB / 293.5 MB, free: 1.227 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.794e-05, allocations: 2.281 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00217/0.002188, allocations: 1.722 MB / 441.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.003869, allocations: 1.664 MB / 443.1 MB, free: 0.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.00396, allocations: 4 kB / 443.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.004283, allocations: 43.64 kB / 443.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.004623, allocations: 99.53 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.004802, allocations: 79.59 kB / 443.3 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.004947, allocations: 103.6 kB / 443.4 MB, free: 436 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.005038, allocations: 11.97 kB / 443.4 MB, free: 424 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.00512, allocations: 59.78 kB / 443.4 MB, free: 364 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.005213, allocations: 35.89 kB / 443.5 MB, free: 328 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.005229, allocations: 4 kB / 443.5 MB, free: 324 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.005372, allocations: 107.8 kB / 443.6 MB, free: 216 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.005426, allocations: 19.92 kB / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.005473, allocations: 23.91 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1892/0.1947, allocations: 177.9 kB / 443.8 MB, free: 43.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1947, allocations: 2.719 kB / 443.8 MB, free: 43.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1947, allocations: 0 / 443.8 MB, free: 43.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1947, allocations: 0 / 443.8 MB, free: 43.46 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006002/0.1953, allocations: 348.3 kB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.1954, allocations: 8.375 kB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.1954, allocations: 39.39 kB / 444.2 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.1954, allocations: 14.56 kB / 444.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.1957, allocations: 153 kB / 444.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1957, allocations: 2.125 kB / 444.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1957, allocations: 3.406 kB / 444.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1959, allocations: 99.47 kB / 444.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1959, allocations: 0 / 444.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1959, allocations: 3.406 kB / 444.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1959, allocations: 0 / 444.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.196, allocations: 25.55 kB / 444.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.1962, allocations: 251.5 kB / 444.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1964, allocations: 63.14 kB / 444.8 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.1964, allocations: 17.55 kB / 444.8 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.1964, allocations: 0.625 kB / 444.8 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.1965, allocations: 74.86 kB / 444.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1965, allocations: 0 / 444.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004296/0.197, allocations: 186.2 kB / 445.1 MB, free: 42.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.197, allocations: 77.11 kB / 445.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.1971, allocations: 169.4 kB / 445.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.1971, allocations: 31.98 kB / 445.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.1971, allocations: 98.53 kB / 445.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.1971, allocations: 27.83 kB / 445.5 MB, free: 42.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.1972, allocations: 25.38 kB / 445.5 MB, free: 42.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.16e-05/0.1972, allocations: 324 kB / 445.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/0.1972, allocations: 23.25 kB / 445.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.155e-05/0.1973, allocations: 69.11 kB / 445.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.776e-05/0.1974, allocations: 67.59 kB / 446 MB, free: 41.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1974, allocations: 2.75 kB / 446 MB, free: 41.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001066/0.1975, allocations: 104.9 kB / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1975, allocations: 5.438 kB / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1975, allocations: 3.203 kB / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1975, allocations: 0 / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.1976, allocations: 21.25 kB / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1976, allocations: 3.375 kB / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.1976, allocations: 2.969 kB / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.1976, allocations: 9.625 kB / 446.1 MB, free: 41.8 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 (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 6.171e-05/0.1977, allocations: 129.3 kB / 446.2 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.1977, allocations: 6.578 kB / 446.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.1978, allocations: 117.8 kB / 446.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.1978, allocations: 0 / 446.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1978, allocations: 5.953 kB / 446.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1979, allocations: 1.281 kB / 446.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.1981, allocations: 374.6 kB / 446.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1981, allocations: 3.469 kB / 446.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.1981, allocations: 11.42 kB / 446.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1981, allocations: 5.031 kB / 446.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1982, allocations: 2.906 kB / 446.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1982, allocations: 3.938 kB / 446.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1982, allocations: 0 / 446.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.1983, allocations: 213.7 kB / 447 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.1983, allocations: 12.73 kB / 447 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1983, allocations: 2.688 kB / 447 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.1984, allocations: 14.5 kB / 447 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.1984, allocations: 6.047 kB / 447 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.1984, allocations: 6.156 kB / 447 MB, free: 41.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.51e-05/0.1985, allocations: 127 kB / 447.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1985, allocations: 0 / 447.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.1987, allocations: 51.34 kB / 447.2 MB, free: 41.14 MB / 410.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.001083/0.1997, allocations: 1.242 MB / 448.4 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.1999, allocations: 64.97 kB / 448.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1999, allocations: 0 / 448.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/0.1999, allocations: 30.66 kB / 448.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.2002, allocations: 35.94 kB / 448.6 MB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.2012, allocations: 1.616 MB / 450.2 MB, free: 39.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.211e-05/0.2012, allocations: 89.95 kB / 450.3 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.237e-05/0.2013, allocations: 23.27 kB / 450.3 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.2013, allocations: 37.66 kB / 450.3 MB, free: 39.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2013, allocations: 0 / 450.3 MB, free: 39.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.2198, allocations: 4.897 MB / 455.2 MB, free: 37.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.89, allocations: 5.844 kB / 455.2 MB, free: 37.53 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.860538017936051]