Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001616/0.001616, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 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.001491/0.001491, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 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 1.503/1.503, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.2425/0.2425, allocations: 46.92 MB / 357.8 MB, free: 10.33 MB / 286.1 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.Test48,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.91 kB / 0.4917 GB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1791, allocations: 65.98 MB / 0.5561 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.005143/0.1843, allocations: 1.736 MB / 0.5578 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.1869, allocations: 1.038 MB / 0.5588 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.187, allocations: 3.938 kB / 0.5589 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.1874, allocations: 51.81 kB / 0.5589 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004602/0.1879, allocations: 107.5 kB / 0.559 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.1882, allocations: 75.69 kB / 0.5591 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.1885, allocations: 103.7 kB / 0.5592 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1887, allocations: 15.98 kB / 0.5592 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1888, allocations: 39.8 kB / 0.5592 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1889, allocations: 39.77 kB / 0.5593 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.1889, allocations: 4 kB / 0.5593 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.1891, allocations: 43.98 kB / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.044e-05/0.1891, allocations: 31.86 kB / 0.5593 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.1892, allocations: 39.67 kB / 0.5594 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.1896, allocations: 135.4 kB / 0.5595 GB, free: 2.309 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1896, allocations: 4 kB / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1896, allocations: 0 / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1896, allocations: 7.875 kB / 0.5595 GB, free: 2.297 MB / 414.1 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.0008881/0.1905, allocations: 454.3 kB / 0.56 GB, free: 1.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.677e-05/0.1906, allocations: 8.031 kB / 0.56 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.756e-05/0.1906, allocations: 8.188 kB / 0.56 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.1906, allocations: 30.75 kB / 0.56 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.1907, allocations: 16.84 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.1911, allocations: 221.1 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.1911, allocations: 12.11 kB / 0.5602 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1911, allocations: 0 / 0.5602 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1913, allocations: 57.61 kB / 0.5603 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1913, allocations: 4 kB / 0.5603 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1913, allocations: 0 / 0.5603 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-06/0.1913, allocations: 0 / 0.5603 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.554e-05/0.1914, allocations: 19.98 kB / 0.5603 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.1919, allocations: 304.8 kB / 0.5606 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1921, allocations: 62.61 kB / 0.5607 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.1921, allocations: 16.86 kB / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1922, allocations: 3.984 kB / 0.5607 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.1923, allocations: 67.39 kB / 0.5607 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1923, allocations: 0 / 0.5607 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006541/0.193, allocations: 185.3 kB / 0.5609 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.193, allocations: 59.39 kB / 0.561 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.1934, allocations: 274.7 kB / 0.5612 GB, free: 328 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1934, allocations: 25.7 kB / 0.5613 GB, free: 296 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.1935, allocations: 112.1 kB / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.1935, allocations: 27.73 kB / 0.5614 GB, free: 152 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.1936, allocations: 33.7 kB / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.1938, allocations: 326.8 kB / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.1939, allocations: 19.98 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.821e-05/0.1939, allocations: 37.64 kB / 0.5618 GB, free: 15.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1941, allocations: 53.72 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1941, allocations: 7.984 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002452/0.1943, allocations: 105.5 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1943, allocations: 8 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1943, allocations: 0 / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1944, allocations: 0 / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1945, allocations: 16.17 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.1945, allocations: 12.08 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.245e-05/0.1945, allocations: 7.938 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1945, allocations: 4 kB / 0.562 GB, free: 15.5 MB / 430.1 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 0.0001476/0.1947, allocations: 145.8 kB / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.1947, allocations: 15.91 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.441e-05/0.1948, allocations: 17.39 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1948, allocations: 4 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1948, allocations: 3.938 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1948, allocations: 0 / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006136/0.1954, allocations: 403.3 kB / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1954, allocations: 0 / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.1955, allocations: 12.03 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.1955, allocations: 7.938 kB / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1955, allocations: 3.984 kB / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1955, allocations: 0 / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1955, allocations: 0 / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.1958, allocations: 212.6 kB / 0.5628 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.1958, allocations: 92.95 kB / 0.5629 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1959, allocations: 4 kB / 0.5629 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.1959, allocations: 15.98 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.196, allocations: 4 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.196, allocations: 7.938 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.1962, allocations: 200.6 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1962, allocations: 0 / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1965, allocations: 27.94 kB / 0.5631 GB, free: 14.24 MB / 430.1 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 (8): * Single equations (assignments): 6 * 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.002414/0.1989, allocations: 1.1 MB / 0.5642 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1991, allocations: 47.98 kB / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1991, allocations: 0 / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/0.1992, allocations: 31.91 kB / 0.5643 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1996, allocations: 38.02 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.2027, allocations: 1.847 MB / 0.5661 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/0.2033, allocations: 0.7235 MB / 0.5668 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.434e-05/0.2034, allocations: 12.88 kB / 0.5668 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.2035, allocations: 43.42 kB / 0.5669 GB, free: 10.44 MB / 430.1 MB Notification: Performance of SimCode: time 1.433e-06/0.2035, allocations: 4 kB / 0.5669 GB, free: 10.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.2243, allocations: 3.852 MB / 0.5706 GB, free: 6.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.405/8.629, allocations: 8.938 kB / 0.5707 GB, free: 6.652 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.782815024023876] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.813390475988854 8.836615874 8.642672292 Calling exit ...