Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.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.001636/0.001636, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.002134/0.002134, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.503/1.503, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2456/0.2456, allocations: 46.88 MB / 357.4 MB, free: 10.54 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.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18",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.002369/0.002369, allocations: 83.88 kB / 0.4913 GB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1729, allocations: 65.99 MB / 0.5557 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003475/0.1764, allocations: 1.735 MB / 0.5574 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1783, allocations: 1.039 MB / 0.5584 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.1783, allocations: 3.938 kB / 0.5585 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.1787, allocations: 35.84 kB / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.179, allocations: 95.53 kB / 0.5586 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.1792, allocations: 79.66 kB / 0.5587 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1794, allocations: 103.7 kB / 0.5588 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1795, allocations: 15.98 kB / 0.5588 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.714e-05/0.1796, allocations: 43.78 kB / 0.5588 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.1797, allocations: 35.84 kB / 0.5588 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1797, allocations: 4 kB / 0.5588 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1798, allocations: 43.98 kB / 0.5589 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.895e-05/0.1798, allocations: 23.84 kB / 0.5589 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.1799, allocations: 31.75 kB / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.1801, allocations: 111.5 kB / 0.559 GB, free: 2.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.1801, allocations: 4 kB / 0.5591 GB, free: 2.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1801, allocations: 0 / 0.5591 GB, free: 2.965 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1802, allocations: 0 / 0.5591 GB, free: 2.965 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.0006642/0.1808, allocations: 422.7 kB / 0.5595 GB, free: 2.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1809, allocations: 8.031 kB / 0.5595 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.1809, allocations: 38.75 kB / 0.5595 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.1809, allocations: 12.84 kB / 0.5595 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.1813, allocations: 212.1 kB / 0.5597 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1813, allocations: 384 / 0.5597 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.1813, allocations: 8.375 kB / 0.5597 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1815, allocations: 53.8 kB / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1815, allocations: 7.938 kB / 0.5598 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1815, allocations: 7.984 kB / 0.5598 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.1815, allocations: 0 / 0.5598 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.229e-05/0.1816, allocations: 23.98 kB / 0.5598 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.182, allocations: 284.8 kB / 0.5601 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1822, allocations: 46.69 kB / 0.5601 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.1822, allocations: 24.84 kB / 0.5602 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1823, allocations: 4 kB / 0.5602 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.1824, allocations: 67.33 kB / 0.5602 GB, free: 1.594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1824, allocations: 0 / 0.5602 GB, free: 1.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005686/0.183, allocations: 173.4 kB / 0.5604 GB, free: 1.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.1831, allocations: 63.34 kB / 0.5604 GB, free: 1.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1833, allocations: 177.5 kB / 0.5606 GB, free: 1.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1833, allocations: 33.7 kB / 0.5606 GB, free: 1.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.1834, allocations: 96.14 kB / 0.5607 GB, free: 1.023 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.1834, allocations: 31.77 kB / 0.5608 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.1835, allocations: 17.72 kB / 0.5608 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1836, allocations: 326.8 kB / 0.5611 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.1837, allocations: 23.98 kB / 0.5611 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.644e-05/0.1838, allocations: 37.7 kB / 0.5612 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1839, allocations: 65.64 kB / 0.5612 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1839, allocations: 0 / 0.5612 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.1841, allocations: 93.59 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1841, allocations: 8 kB / 0.5613 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1841, allocations: 3.938 kB / 0.5613 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1841, allocations: 0 / 0.5613 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.1842, allocations: 23.95 kB / 0.5613 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1842, allocations: 4 kB / 0.5613 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.1843, allocations: 4 kB / 0.5613 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1843, allocations: 4 kB / 0.5614 GB, free: 368 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.0001313/0.1844, allocations: 129.8 kB / 0.5615 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.1844, allocations: 7.953 kB / 0.5615 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.1845, allocations: 13.56 kB / 0.5615 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.1845, allocations: 4 kB / 0.5615 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1845, allocations: 4 kB / 0.5615 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1845, allocations: 3.984 kB / 0.5615 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.185, allocations: 399.4 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.185, allocations: 4.375 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.1851, allocations: 11.94 kB / 0.5619 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1851, allocations: 4 kB / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1851, allocations: 4 kB / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.1851, allocations: 7.922 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1851, allocations: 7.938 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1853, allocations: 196.4 kB / 0.5621 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.1854, allocations: 89.02 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1854, allocations: 4 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.1855, allocations: 3.938 kB / 0.5622 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.1855, allocations: 7.984 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1856, allocations: 8 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1857, allocations: 144.9 kB / 0.5624 GB, free: 15.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1857, allocations: 0 / 0.5624 GB, free: 15.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1859, allocations: 23.94 kB / 0.5624 GB, free: 15.19 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.002218/0.1882, allocations: 1.093 MB / 0.5635 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1884, allocations: 55.86 kB / 0.5635 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1884, allocations: 0 / 0.5635 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.983e-05/0.1884, allocations: 32.05 kB / 0.5635 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.1888, allocations: 25.7 kB / 0.5636 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.1908, allocations: 1.645 MB / 0.5652 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.1912, allocations: 0.7118 MB / 0.5659 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.649e-05/0.1912, allocations: 12.88 kB / 0.5659 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.1913, allocations: 35.42 kB / 0.5659 GB, free: 11.61 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1913, allocations: 0 / 0.5659 GB, free: 11.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.2191, allocations: 3.439 MB / 0.5693 GB, free: 8.242 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.127, allocations: 4 kB / 0.5693 GB, free: 8.238 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.432949510868639] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.251378156244755 8.272515815 8.089382673 Calling exit ...