Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.00106/0.00106, 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.001186/0.001186, allocations: 174.3 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.9266/0.9266, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2509/0.2509, allocations: 32.8 MB / 293.5 MB, free: 1.207 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.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.512e-05, allocations: 2.281 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002515/0.00253, allocations: 2.238 MB / 441.9 MB, free: 1.906 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.004507, allocations: 1.352 MB / 443.3 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.00463, allocations: 11.94 kB / 443.3 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.005059, allocations: 282.9 kB / 443.5 MB, free: 268 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2001/0.2052, allocations: 346.9 kB / 443.9 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/0.2058, allocations: 221.5 kB / 444.1 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005867/0.2064, allocations: 0.5716 MB / 444.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.2066, allocations: 34.02 kB / 444.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.2069, allocations: 300.5 kB / 445 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.2071, allocations: 256.7 kB / 445.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.2071, allocations: 21.06 kB / 445.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.2073, allocations: 69.39 kB / 445.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.2074, allocations: 125.6 kB / 445.5 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.86e-05/0.2075, allocations: 98.12 kB / 445.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.2079, allocations: 412.9 kB / 446 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2079, allocations: 0 / 446 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2079, allocations: 2.812 kB / 446 MB, free: 43.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.2079, allocations: 0 / 446 MB, free: 43.18 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008095/0.2087, allocations: 0.7333 MB / 446.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2088, allocations: 11.72 kB / 446.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.2088, allocations: 47.66 kB / 446.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.2089, allocations: 58.47 kB / 446.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.2093, allocations: 349.6 kB / 447.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.2093, allocations: 12.31 kB / 447.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.2093, allocations: 13.92 kB / 447.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.2096, allocations: 212.6 kB / 447.4 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.2096, allocations: 2.844 kB / 447.4 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.2096, allocations: 10.75 kB / 447.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.2096, allocations: 4.438 kB / 447.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.2098, allocations: 109 kB / 447.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.2104, allocations: 0.8185 MB / 448.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.2108, allocations: 292.7 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2109, allocations: 98.36 kB / 448.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.2109, allocations: 5.031 kB / 448.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.2112, allocations: 228.2 kB / 448.9 MB, free: 41.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.903e-06/0.2112, allocations: 0 / 448.9 MB, free: 41.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001152/0.2123, allocations: 1.078 MB / 450 MB, free: 41.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.2124, allocations: 161.8 kB / 450.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.2128, allocations: 0.6783 MB / 450.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.2128, allocations: 35.45 kB / 450.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.2129, allocations: 238.9 kB / 451.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.45e-05/0.213, allocations: 133.1 kB / 451.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.213, allocations: 69.73 kB / 451.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.2131, allocations: 377.3 kB / 451.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.2132, allocations: 110.3 kB / 451.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.2134, allocations: 187 kB / 452 MB, free: 39.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.2137, allocations: 309.3 kB / 452.3 MB, free: 39.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2137, allocations: 2.656 kB / 452.3 MB, free: 39.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004067/0.2141, allocations: 419.9 kB / 452.7 MB, free: 39.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2141, allocations: 9.609 kB / 452.7 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2141, allocations: 7.156 kB / 452.7 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2141, allocations: 3.281 kB / 452.7 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.2143, allocations: 91.55 kB / 452.8 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2143, allocations: 3.156 kB / 452.8 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2144, allocations: 25.11 kB / 452.8 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.2144, allocations: 16.02 kB / 452.8 MB, free: 39.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.0001325/0.2146, allocations: 208.1 kB / 453 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.2146, allocations: 64.08 kB / 453.1 MB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.2151, allocations: 498.7 kB / 453.6 MB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.2151, allocations: 9.531 kB / 453.6 MB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2151, allocations: 0 / 453.6 MB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.2152, allocations: 10.38 kB / 453.6 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009282/0.2161, allocations: 1.271 MB / 454.9 MB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2161, allocations: 3.312 kB / 454.9 MB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-05/0.2162, allocations: 55.44 kB / 454.9 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.2162, allocations: 6.281 kB / 455 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.2162, allocations: 13.73 kB / 455 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2162, allocations: 11.34 kB / 455 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.2162, allocations: 6.438 kB / 455 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.2167, allocations: 0.8608 MB / 455.8 MB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.2167, allocations: 48.16 kB / 455.9 MB, free: 37.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.2168, allocations: 17.67 kB / 455.9 MB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.2169, allocations: 19.52 kB / 455.9 MB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.217, allocations: 44.8 kB / 456 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.217, allocations: 18.28 kB / 456 MB, free: 37.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003096/0.2173, allocations: 0.5031 MB / 456.5 MB, free: 37.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2173, allocations: 0 / 456.5 MB, free: 37.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003485/0.2177, allocations: 84.59 kB / 456.6 MB, free: 37.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001395/0.2191, allocations: 1.823 MB / 458.4 MB, free: 36.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003738/0.2194, allocations: 300.2 kB / 458.7 MB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2194, allocations: 3.344 kB / 458.7 MB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.2196, allocations: 155 kB / 458.8 MB, free: 36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/0.2203, allocations: 146.7 kB / 459 MB, free: 35.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.2235, allocations: 4.609 MB / 463.6 MB, free: 33.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.2237, allocations: 262.3 kB / 463.9 MB, free: 33.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.2238, allocations: 85.95 kB / 463.9 MB, free: 33.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.224, allocations: 184.7 kB / 464.1 MB, free: 32.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.224, allocations: 0 / 464.1 MB, free: 32.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.2482, allocations: 12.3 MB / 476.4 MB, free: 30.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/7.106, allocations: 0 / 476.4 MB, free: 30.75 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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: 9.200235255993903]