Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.905/0.905, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2795/0.2795, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 442.2 MB, free: 1.492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.668e-05, allocations: 6.281 kB / 442.2 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.1998/0.1998, allocations: 1.669 MB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.201, allocations: 0.9594 MB / 444.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9e-05/0.2011, allocations: 3.938 kB / 444.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.2014, allocations: 60.19 kB / 444.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004043/0.2018, allocations: 113.4 kB / 445 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.2021, allocations: 79.78 kB / 445.1 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.2022, allocations: 103.7 kB / 445.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.2023, allocations: 3.172 kB / 445.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.778e-05/0.2024, allocations: 65.38 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.2025, allocations: 41.84 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.2025, allocations: 3.031 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.441e-05/0.2026, allocations: 33.42 kB / 445.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.2026, allocations: 20.91 kB / 445.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.2026, allocations: 22.33 kB / 445.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.2028, allocations: 106.1 kB / 445.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2028, allocations: 0 / 445.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2028, allocations: 0 / 445.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.2028, allocations: 0 / 445.5 MB, free: 42.89 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.0004409/0.2033, allocations: 337.6 kB / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2033, allocations: 14.16 kB / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.2033, allocations: 34.17 kB / 445.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.2034, allocations: 11.75 kB / 445.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.2036, allocations: 147.9 kB / 446 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2036, allocations: 3.312 kB / 446 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.2037, allocations: 384 / 446 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.2038, allocations: 56.58 kB / 446.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.2038, allocations: 192 / 446.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2038, allocations: 4.125 kB / 446.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.2038, allocations: 0 / 446.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.747e-05/0.2038, allocations: 18.36 kB / 446.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.204, allocations: 156.8 kB / 446.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.2041, allocations: 52.31 kB / 446.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.2041, allocations: 23.3 kB / 446.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.2041, allocations: 0 / 446.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.2043, allocations: 70.06 kB / 446.4 MB, free: 42.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2043, allocations: 0 / 446.4 MB, free: 42.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002246/0.2045, allocations: 109.5 kB / 446.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.2045, allocations: 51.41 kB / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.2046, allocations: 199.9 kB / 446.8 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.2046, allocations: 29.52 kB / 446.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.2047, allocations: 105.1 kB / 446.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.2047, allocations: 19.77 kB / 446.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.2047, allocations: 18.78 kB / 446.9 MB, free: 41.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.2048, allocations: 323.5 kB / 447.3 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.2048, allocations: 14.92 kB / 447.3 MB, free: 41.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.2049, allocations: 31.77 kB / 447.3 MB, free: 41.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.195e-05/0.2049, allocations: 51.3 kB / 447.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2049, allocations: 0 / 447.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.618e-05/0.205, allocations: 86.81 kB / 447.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.205, allocations: 4.469 kB / 447.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.205, allocations: 7.031 kB / 447.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.205, allocations: 0 / 447.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.2051, allocations: 11.08 kB / 447.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2051, allocations: 2.531 kB / 447.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.2052, allocations: 6.484 kB / 447.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.2052, allocations: 9.281 kB / 447.5 MB, free: 41.38 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 6.059e-05/0.2052, allocations: 121.7 kB / 447.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.2052, allocations: 13.73 kB / 447.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.2054, allocations: 104.5 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2054, allocations: 0 / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2054, allocations: 3.375 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2054, allocations: 2.656 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.19e-05/0.2055, allocations: 157.5 kB / 447.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2055, allocations: 0 / 447.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.2055, allocations: 5.531 kB / 447.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.2055, allocations: 4 kB / 447.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.2055, allocations: 3.938 kB / 447.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2055, allocations: 2.938 kB / 447.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2055, allocations: 0 / 447.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.495e-05/0.2056, allocations: 115.7 kB / 448 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.2056, allocations: 9.328 kB / 448 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.2057, allocations: 7.188 kB / 448 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.2057, allocations: 12.19 kB / 448 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.2057, allocations: 5.156 kB / 448 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.2057, allocations: 2.688 kB / 448 MB, free: 40.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.85e-05/0.2058, allocations: 155.1 kB / 448.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2058, allocations: 3.938 kB / 448.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001495/0.2059, allocations: 13.81 kB / 448.2 MB, free: 40.89 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.0009784/0.2069, allocations: 0.9765 MB / 449.2 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.2071, allocations: 49.78 kB / 449.2 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2071, allocations: 2.656 kB / 449.2 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.2071, allocations: 17.14 kB / 449.2 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.2073, allocations: 34.55 kB / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009828/0.2083, allocations: 1.52 MB / 450.8 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.906e-05/0.2083, allocations: 92.56 kB / 450.9 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.496e-05/0.2084, allocations: 9.812 kB / 450.9 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.2084, allocations: 36.45 kB / 450.9 MB, free: 38.86 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2084, allocations: 3.938 kB / 450.9 MB, free: 38.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.2243, allocations: 3.967 MB / 454.9 MB, free: 37.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/6.926, allocations: 7.984 kB / 454.9 MB, free: 37.46 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.954282132908702]