Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.0007943/0.0007943, 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.001079/0.001079, allocations: 170.3 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.9158/0.9158, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2536/0.2536, allocations: 32.8 MB / 293.5 MB, free: 1.234 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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 439.7 MB, free: 4.184 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.966e-05, allocations: 2.281 kB / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002339/0.002359, allocations: 1.728 MB / 441.4 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.003485, allocations: 0.9741 MB / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.003557, allocations: 0 / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.003838, allocations: 39.81 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.00408, allocations: 107.4 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.00422, allocations: 79.66 kB / 442.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.004365, allocations: 107.6 kB / 442.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.004463, allocations: 11.98 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.004542, allocations: 51.89 kB / 442.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.004612, allocations: 27.91 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.004635, allocations: 7.938 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.004712, allocations: 47.86 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.004769, allocations: 23.91 kB / 442.9 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.004805, allocations: 15.94 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.00498, allocations: 131.5 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004982, allocations: 0 / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004983, allocations: 0 / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004988, allocations: 0 / 443 MB, free: 0.8164 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.0004472/0.005435, allocations: 369.5 kB / 443.4 MB, free: 436 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.005479, allocations: 8.031 kB / 443.4 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.00551, allocations: 34.69 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.005544, allocations: 12.89 kB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.005746, allocations: 158.3 kB / 443.6 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.005759, allocations: 4.312 kB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.005778, allocations: 4.375 kB / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.0059, allocations: 57.98 kB / 443.6 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.00591, allocations: 0 / 443.6 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.005919, allocations: 7.938 kB / 443.6 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.005925, allocations: 4 kB / 443.7 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.27e-05/0.005978, allocations: 15.98 kB / 443.7 MB, free: 84 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1901/0.1961, allocations: 269.3 kB / 443.9 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1962, allocations: 56.83 kB / 444 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.1963, allocations: 21.92 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.1963, allocations: 2.938 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.1965, allocations: 68.89 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.835e-06/0.1965, allocations: 0 / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005169/0.197, allocations: 187.1 kB / 444.3 MB, free: 46.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.197, allocations: 56.38 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1972, allocations: 238.9 kB / 444.5 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.1972, allocations: 26.42 kB / 444.6 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.1972, allocations: 109 kB / 444.7 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.1973, allocations: 29.27 kB / 444.7 MB, free: 45.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.1973, allocations: 24.5 kB / 444.7 MB, free: 45.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.1973, allocations: 325.3 kB / 445.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.1974, allocations: 21.38 kB / 445.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.562e-05/0.1974, allocations: 42.41 kB / 445.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.565e-05/0.1975, allocations: 60.56 kB / 445.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1975, allocations: 0 / 445.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001286/0.1976, allocations: 117.4 kB / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1977, allocations: 5.094 kB / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1977, allocations: 0 / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1977, allocations: 0 / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.1978, allocations: 13.47 kB / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1978, allocations: 6.438 kB / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.1978, allocations: 6.656 kB / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1978, allocations: 3.875 kB / 445.3 MB, free: 45.58 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 7.279e-05/0.1979, allocations: 137.4 kB / 445.5 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.1979, allocations: 20.97 kB / 445.5 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.1981, allocations: 124.7 kB / 445.6 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.1981, allocations: 0 / 445.6 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1981, allocations: 2.562 kB / 445.6 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1981, allocations: 0 / 445.6 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.1984, allocations: 385.5 kB / 446 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1984, allocations: 3.891 kB / 446 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.1984, allocations: 8.875 kB / 446 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1984, allocations: 3.234 kB / 446 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1984, allocations: 9.406 kB / 446 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1984, allocations: 0 / 446 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1984, allocations: 0 / 446 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.1985, allocations: 214.6 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.1986, allocations: 10.88 kB / 446.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1986, allocations: 6.938 kB / 446.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.1986, allocations: 9.703 kB / 446.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.1987, allocations: 10.12 kB / 446.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.1987, allocations: 2.938 kB / 446.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.512e-05/0.1988, allocations: 176.6 kB / 446.4 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1988, allocations: 3.469 kB / 446.4 MB, free: 44.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.1989, allocations: 28.7 kB / 446.5 MB, free: 44.83 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.001098/0.2, allocations: 1.132 MB / 447.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.2002, allocations: 64.3 kB / 447.7 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2002, allocations: 0 / 447.7 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.2002, allocations: 28.09 kB / 447.7 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.2005, allocations: 36.48 kB / 447.7 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.2016, allocations: 1.78 MB / 449.5 MB, free: 42.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.007e-05/0.2017, allocations: 99.48 kB / 449.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.632e-05/0.2017, allocations: 17.27 kB / 449.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.2018, allocations: 40.34 kB / 449.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2018, allocations: 0 / 449.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.2185, allocations: 4.452 MB / 454.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.635/6.854, allocations: 5.688 kB / 454.1 MB, free: 41.14 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.864920229651034]