Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.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.002117/0.002117, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.00247/0.00247, allocations: 217.7 kB / 23 MB, free: 5.578 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.489/1.489, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.2291/0.2291, allocations: 46.89 MB / 359.4 MB, free: 4.922 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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",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.002287/0.002287, allocations: 83.88 kB / 0.4942 GB, free: 8.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3446, allocations: 65.98 MB / 0.5587 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003811/0.3484, allocations: 1.739 MB / 0.5604 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.3503, allocations: 1.049 MB / 0.5614 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.533e-05/0.3504, allocations: 0 / 0.5614 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.3507, allocations: 47.75 kB / 0.5614 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.3511, allocations: 95.59 kB / 0.5615 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.3513, allocations: 79.61 kB / 0.5616 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.3516, allocations: 103.8 kB / 0.5617 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.3517, allocations: 13.75 kB / 0.5617 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.3518, allocations: 39.8 kB / 0.5617 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3519, allocations: 47.77 kB / 0.5618 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.352, allocations: 7.938 kB / 0.5618 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.3521, allocations: 39.98 kB / 0.5618 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.3521, allocations: 19.91 kB / 0.5619 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.3522, allocations: 31.75 kB / 0.5619 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.3525, allocations: 127.4 kB / 0.562 GB, free: 1.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3525, allocations: 0 / 0.562 GB, free: 1.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3525, allocations: 0 / 0.562 GB, free: 1.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.3525, allocations: 0 / 0.562 GB, free: 1.707 MB / 398.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.0007375/0.3532, allocations: 430.6 kB / 0.5624 GB, free: 1.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.3533, allocations: 8.031 kB / 0.5624 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.051e-05/0.3533, allocations: 30.75 kB / 0.5625 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.3534, allocations: 16.88 kB / 0.5625 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.3537, allocations: 216.8 kB / 0.5627 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3537, allocations: 384 / 0.5627 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3537, allocations: 4.375 kB / 0.5627 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3539, allocations: 61.73 kB / 0.5627 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3539, allocations: 4 kB / 0.5627 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3539, allocations: 4 kB / 0.5627 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3539, allocations: 0 / 0.5627 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.354, allocations: 19.98 kB / 0.5628 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.3544, allocations: 284.8 kB / 0.563 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.3546, allocations: 62.61 kB / 0.5631 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.3546, allocations: 20.86 kB / 0.5631 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.3547, allocations: 0 / 0.5631 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.3548, allocations: 63.39 kB / 0.5632 GB, free: 340 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3548, allocations: 0 / 0.5632 GB, free: 340 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005571/0.3554, allocations: 177.3 kB / 0.5633 GB, free: 156 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.3554, allocations: 51.41 kB / 0.5634 GB, free: 92 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.3557, allocations: 198.4 kB / 0.5636 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.3557, allocations: 29.7 kB / 0.5636 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.3558, allocations: 100.1 kB / 0.5637 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.3558, allocations: 31.77 kB / 0.5637 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.3558, allocations: 25.72 kB / 0.5638 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.356, allocations: 330.7 kB / 0.5641 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/0.3561, allocations: 19.98 kB / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-05/0.3561, allocations: 41.64 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.3563, allocations: 57.91 kB / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3563, allocations: 0 / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.3565, allocations: 113.5 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3565, allocations: 4 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3565, allocations: 0 / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.3565, allocations: 4 kB / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.3566, allocations: 15.98 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3566, allocations: 0 / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.3566, allocations: 8.031 kB / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3567, allocations: 0 / 0.5643 GB, free: 15.08 MB / 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.0001194/0.3568, allocations: 141.7 kB / 0.5645 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.3568, allocations: 11.91 kB / 0.5645 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.3571, allocations: 111.1 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3571, allocations: 4 kB / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3571, allocations: 0 / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3571, allocations: 0 / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.3576, allocations: 399.6 kB / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3576, allocations: 0 / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.3576, allocations: 15.98 kB / 0.565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3576, allocations: 0 / 0.565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3576, allocations: 0 / 0.565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3576, allocations: 7.938 kB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3576, allocations: 4.25 kB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3579, allocations: 212.3 kB / 0.5652 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.358, allocations: 85.06 kB / 0.5653 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.358, allocations: 0 / 0.5653 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.3581, allocations: 11.92 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.3581, allocations: 4 kB / 0.5653 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.3581, allocations: 4 kB / 0.5653 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.3582, allocations: 148.2 kB / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3582, allocations: 7.938 kB / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.3585, allocations: 31.92 kB / 0.5655 GB, free: 13.79 MB / 414.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.002292/0.3608, allocations: 1.081 MB / 0.5665 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.361, allocations: 59.84 kB / 0.5666 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.361, allocations: 0 / 0.5666 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.3611, allocations: 31.97 kB / 0.5666 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.3615, allocations: 23.48 kB / 0.5666 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.3635, allocations: 1.676 MB / 0.5683 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.3639, allocations: 0.7041 MB / 0.569 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.3639, allocations: 21.17 kB / 0.569 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.364, allocations: 35.42 kB / 0.569 GB, free: 10.19 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.364, allocations: 3.938 kB / 0.569 GB, free: 10.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.3881, allocations: 3.471 MB / 0.5724 GB, free: 6.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.488, allocations: 16.61 kB / 0.5724 GB, free: 6.719 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.380381885974202] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.610716932977084 8.62688439 8.271260762 Calling exit ...