Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.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.001646/0.001646, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 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.001459/0.001459, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 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 1.528/1.528, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2548/0.2548, allocations: 46.89 MB / 357.4 MB, free: 10.52 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-beta.om/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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 87.84 kB / 0.4913 GB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1792, allocations: 65.98 MB / 0.5557 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003424/0.1826, allocations: 1.735 MB / 0.5574 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.1844, allocations: 1.026 MB / 0.5584 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.1845, allocations: 4 kB / 0.5584 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.1848, allocations: 39.77 kB / 0.5585 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.1852, allocations: 99.59 kB / 0.5586 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.1854, allocations: 75.67 kB / 0.5587 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.1856, allocations: 107.7 kB / 0.5588 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1857, allocations: 8 kB / 0.5588 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.086e-05/0.1858, allocations: 43.78 kB / 0.5588 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.1859, allocations: 39.78 kB / 0.5588 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1859, allocations: 4 kB / 0.5588 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.186, allocations: 43.98 kB / 0.5589 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.186, allocations: 19.86 kB / 0.5589 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.1861, allocations: 35.73 kB / 0.5589 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.1863, allocations: 111.6 kB / 0.559 GB, free: 3.047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1863, allocations: 0 / 0.559 GB, free: 3.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1863, allocations: 0 / 0.559 GB, free: 3.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1863, allocations: 0 / 0.559 GB, free: 3.047 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.0006237/0.187, allocations: 418.7 kB / 0.5594 GB, free: 2.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.187, allocations: 12.03 kB / 0.5595 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.1871, allocations: 30.75 kB / 0.5595 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.1871, allocations: 12.89 kB / 0.5595 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.1874, allocations: 208.2 kB / 0.5597 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1875, allocations: 384 / 0.5597 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1875, allocations: 4.375 kB / 0.5597 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1877, allocations: 57.8 kB / 0.5598 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1877, allocations: 0 / 0.5598 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1877, allocations: 3.938 kB / 0.5598 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1877, allocations: 7.984 kB / 0.5598 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-05/0.1878, allocations: 16 kB / 0.5598 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.1882, allocations: 296.8 kB / 0.5601 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1884, allocations: 54.67 kB / 0.5601 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.1885, allocations: 24.78 kB / 0.5601 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1885, allocations: 0 / 0.5601 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.1887, allocations: 67.39 kB / 0.5602 GB, free: 1.684 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1887, allocations: 4 kB / 0.5602 GB, free: 1.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005917/0.1893, allocations: 173.3 kB / 0.5604 GB, free: 1.504 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.1893, allocations: 55.41 kB / 0.5604 GB, free: 1.438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1895, allocations: 166.2 kB / 0.5606 GB, free: 1.262 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1895, allocations: 29.7 kB / 0.5606 GB, free: 1.227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.1896, allocations: 100.1 kB / 0.5607 GB, free: 1.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.1897, allocations: 23.8 kB / 0.5607 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.1897, allocations: 25.7 kB / 0.5608 GB, free: 1.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1899, allocations: 326.8 kB / 0.5611 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.92e-05/0.1899, allocations: 20 kB / 0.5611 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/0.19, allocations: 33.7 kB / 0.5611 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1901, allocations: 65.64 kB / 0.5612 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1901, allocations: 0 / 0.5612 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002013/0.1903, allocations: 105.7 kB / 0.5613 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1904, allocations: 9.703 kB / 0.5613 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1904, allocations: 7.938 kB / 0.5613 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1904, allocations: 0 / 0.5613 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.1905, allocations: 12 kB / 0.5613 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1905, allocations: 0 / 0.5613 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.1905, allocations: 11.98 kB / 0.5613 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.1905, allocations: 4 kB / 0.5613 GB, free: 472 kB / 414.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.0001311/0.1907, allocations: 119.1 kB / 0.5614 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.1907, allocations: 15.95 kB / 0.5615 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.1907, allocations: 16.7 kB / 0.5615 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1908, allocations: 3.938 kB / 0.5615 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1908, allocations: 0 / 0.5615 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1908, allocations: 0 / 0.5615 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005239/0.1913, allocations: 399.4 kB / 0.5619 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1913, allocations: 3.938 kB / 0.5619 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.1913, allocations: 8 kB / 0.5619 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1913, allocations: 7.969 kB / 0.5619 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1913, allocations: 3.984 kB / 0.5619 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.1913, allocations: 7.938 kB / 0.5619 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1913, allocations: 0 / 0.5619 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1916, allocations: 196.3 kB / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.1917, allocations: 89.38 kB / 0.5622 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.1917, allocations: 8 kB / 0.5622 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.1918, allocations: 15.92 kB / 0.5622 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.1918, allocations: 7.938 kB / 0.5622 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.1918, allocations: 4 kB / 0.5622 GB, free: 15.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1919, allocations: 136 kB / 0.5623 GB, free: 15.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.192, allocations: 0 / 0.5623 GB, free: 15.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1922, allocations: 24 kB / 0.5623 GB, free: 15.31 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.002246/0.1945, allocations: 1.074 MB / 0.5634 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1947, allocations: 67.83 kB / 0.5635 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1947, allocations: 0 / 0.5635 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.839e-05/0.1947, allocations: 31.92 kB / 0.5635 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1951, allocations: 26.73 kB / 0.5635 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.197, allocations: 1.61 MB / 0.5651 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1974, allocations: 0.7002 MB / 0.5658 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.778e-05/0.1974, allocations: 12.88 kB / 0.5658 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.1975, allocations: 35.42 kB / 0.5658 GB, free: 11.78 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1975, allocations: 0 / 0.5658 GB, free: 11.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.2241, allocations: 3.375 MB / 0.5691 GB, free: 8.473 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.15, allocations: 2.109 kB / 0.5691 GB, free: 8.473 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.300599220208824] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.274541178252548 8.297825581 8.108423916 Calling exit ...