Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.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.001759/0.001759, allocations: 117.8 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.002089/0.002089, allocations: 216.9 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.558/1.558, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.2408/0.2408, allocations: 46.88 MB / 357.4 MB, free: 10.49 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.Test62,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test62",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.003057/0.003057, allocations: 83.88 kB / 0.4913 GB, free: 8.301 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.168, allocations: 65.98 MB / 0.5557 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003791/0.1718, allocations: 1.694 MB / 0.5574 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1737, allocations: 1.018 MB / 0.5584 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.1738, allocations: 0 / 0.5584 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.1742, allocations: 63.67 kB / 0.5584 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.1746, allocations: 99.59 kB / 0.5585 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.1747, allocations: 71.69 kB / 0.5586 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.175, allocations: 99.73 kB / 0.5587 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.541e-05/0.175, allocations: 4.234 kB / 0.5587 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1751, allocations: 43.78 kB / 0.5587 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.127e-05/0.1752, allocations: 27.8 kB / 0.5588 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1752, allocations: 4 kB / 0.5588 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.1753, allocations: 35.97 kB / 0.5588 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.1754, allocations: 27.86 kB / 0.5588 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.1755, allocations: 39.69 kB / 0.5589 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.1757, allocations: 127.4 kB / 0.559 GB, free: 2.824 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1757, allocations: 0 / 0.559 GB, free: 2.824 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1757, allocations: 0 / 0.559 GB, free: 2.824 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1757, allocations: 0 / 0.559 GB, free: 2.824 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007077/0.1764, allocations: 442.5 kB / 0.5594 GB, free: 2.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1765, allocations: 12.03 kB / 0.5594 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.1765, allocations: 30.75 kB / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.1766, allocations: 8.891 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.177, allocations: 232.9 kB / 0.5597 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.177, allocations: 4.375 kB / 0.5597 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.177, allocations: 4.375 kB / 0.5597 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1772, allocations: 49.8 kB / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1772, allocations: 0 / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1772, allocations: 0 / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1772, allocations: 4 kB / 0.5597 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.385e-05/0.1773, allocations: 15.98 kB / 0.5598 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.1775, allocations: 189.7 kB / 0.5599 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1777, allocations: 58.55 kB / 0.56 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.1778, allocations: 20.84 kB / 0.56 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1778, allocations: 0 / 0.56 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.178, allocations: 71.33 kB / 0.5601 GB, free: 1.527 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.178, allocations: 4 kB / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003342/0.1783, allocations: 101.5 kB / 0.5602 GB, free: 1.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.1784, allocations: 51.41 kB / 0.5602 GB, free: 1.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.1788, allocations: 274.8 kB / 0.5605 GB, free: 1.074 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1788, allocations: 29.7 kB / 0.5605 GB, free: 1.039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1789, allocations: 112.1 kB / 0.5606 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.179, allocations: 15.89 kB / 0.5606 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.179, allocations: 21.66 kB / 0.5607 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.1792, allocations: 334.8 kB / 0.561 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/0.1793, allocations: 12 kB / 0.561 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.551e-05/0.1794, allocations: 29.7 kB / 0.561 GB, free: 0.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1795, allocations: 41.64 kB / 0.5611 GB, free: 464 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1795, allocations: 4 kB / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001734/0.1797, allocations: 89.56 kB / 0.5612 GB, free: 364 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1797, allocations: 11.94 kB / 0.5612 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1797, allocations: 0 / 0.5612 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.1797, allocations: 0 / 0.5612 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.1798, allocations: 15.92 kB / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1798, allocations: 4 kB / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.1799, allocations: 3.953 kB / 0.5612 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1799, allocations: 4 kB / 0.5612 GB, free: 324 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 (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 0.0001657/0.1801, allocations: 137.8 kB / 0.5613 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.1801, allocations: 19.84 kB / 0.5613 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.1801, allocations: 20.98 kB / 0.5614 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1801, allocations: 0 / 0.5614 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1801, allocations: 0 / 0.5614 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1801, allocations: 0 / 0.5614 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.1804, allocations: 197.6 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1804, allocations: 3.938 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.1804, allocations: 4.312 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1804, allocations: 0 / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.1804, allocations: 0 / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.1804, allocations: 4 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1804, allocations: 4 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.1806, allocations: 117 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.1807, allocations: 92.95 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1807, allocations: 3.984 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.673e-05/0.1807, allocations: 4 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.1808, allocations: 0 / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1808, allocations: 4 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.181, allocations: 208.6 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.181, allocations: 0 / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000219/0.1812, allocations: 16 kB / 0.562 GB, free: 15.4 MB / 430.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002196/0.1834, allocations: 0.9559 MB / 0.5629 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.1836, allocations: 43.98 kB / 0.563 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1836, allocations: 4 kB / 0.563 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.34e-05/0.1837, allocations: 19.92 kB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1839, allocations: 38.45 kB / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.1861, allocations: 1.682 MB / 0.5647 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.1865, allocations: 0.7119 MB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.535e-05/0.1866, allocations: 12.55 kB / 0.5654 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/0.1867, allocations: 43.42 kB / 0.5654 GB, free: 11.9 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1867, allocations: 0 / 0.5654 GB, free: 11.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.2146, allocations: 3.526 MB / 0.5689 GB, free: 8.441 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.239, allocations: 8.062 kB / 0.5689 GB, free: 8.434 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.41814948990941] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.365101808216423 8.391274211 8.210410966 Calling exit ...