Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.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.001564/0.001564, allocations: 109.4 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.001883/0.001883, allocations: 215.8 kB / 23 MB, free: 5.582 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.463/1.463, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.2277/0.2277, allocations: 46.9 MB / 359.4 MB, free: 4.906 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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26",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.002516/0.002516, allocations: 87.84 kB / 0.4942 GB, free: 8.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3539, allocations: 65.98 MB / 0.5587 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003284/0.3572, allocations: 1.741 MB / 0.5604 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.359, allocations: 1.045 MB / 0.5614 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.3591, allocations: 3.938 kB / 0.5614 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.3594, allocations: 47.75 kB / 0.5614 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.3597, allocations: 103.5 kB / 0.5615 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.3599, allocations: 63.75 kB / 0.5616 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.3601, allocations: 115.6 kB / 0.5617 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.658e-05/0.3602, allocations: 9.812 kB / 0.5617 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.164e-05/0.3603, allocations: 43.8 kB / 0.5618 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.3604, allocations: 43.77 kB / 0.5618 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.3604, allocations: 4 kB / 0.5618 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.376e-05/0.3605, allocations: 39.98 kB / 0.5618 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.3606, allocations: 19.92 kB / 0.5619 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.3606, allocations: 39.67 kB / 0.5619 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.3608, allocations: 127.4 kB / 0.562 GB, free: 1.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3608, allocations: 0 / 0.562 GB, free: 1.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3608, allocations: 0 / 0.562 GB, free: 1.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3608, allocations: 0 / 0.562 GB, free: 1.695 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.0005943/0.3614, allocations: 430.6 kB / 0.5624 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3615, allocations: 8.031 kB / 0.5624 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.3615, allocations: 34.73 kB / 0.5625 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.3616, allocations: 12.89 kB / 0.5625 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.3619, allocations: 220.1 kB / 0.5627 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3619, allocations: 384 / 0.5627 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.3619, allocations: 12.25 kB / 0.5627 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.362, allocations: 57.8 kB / 0.5628 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3621, allocations: 4 kB / 0.5628 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3621, allocations: 4 kB / 0.5628 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3621, allocations: 0 / 0.5628 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.998e-05/0.3621, allocations: 19.98 kB / 0.5628 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.3625, allocations: 292.8 kB / 0.5631 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.3627, allocations: 54.61 kB / 0.5631 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.3628, allocations: 24.84 kB / 0.5631 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.3628, allocations: 0 / 0.5631 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.363, allocations: 67.39 kB / 0.5632 GB, free: 312 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.363, allocations: 0 / 0.5632 GB, free: 312 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005802/0.3635, allocations: 177.3 kB / 0.5634 GB, free: 128 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3636, allocations: 55.41 kB / 0.5634 GB, free: 60 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.3638, allocations: 214.1 kB / 0.5636 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3639, allocations: 25.7 kB / 0.5637 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.364, allocations: 108.1 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.364, allocations: 15.86 kB / 0.5638 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.364, allocations: 25.7 kB / 0.5638 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3642, allocations: 326.8 kB / 0.5641 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.3643, allocations: 27.92 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.3643, allocations: 41.64 kB / 0.5642 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3645, allocations: 65.7 kB / 0.5642 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3645, allocations: 0 / 0.5642 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001927/0.3647, allocations: 101.5 kB / 0.5643 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3647, allocations: 8 kB / 0.5643 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3647, allocations: 0 / 0.5643 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3647, allocations: 0 / 0.5643 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.3648, allocations: 12.03 kB / 0.5643 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3648, allocations: 11.98 kB / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/0.3649, allocations: 4 kB / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3649, allocations: 4 kB / 0.5644 GB, free: 15.04 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.0001128/0.365, allocations: 133.6 kB / 0.5645 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.365, allocations: 15.91 kB / 0.5645 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.3653, allocations: 115.2 kB / 0.5646 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3653, allocations: 4 kB / 0.5646 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3653, allocations: 3.938 kB / 0.5646 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3653, allocations: 4 kB / 0.5646 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.3657, allocations: 395.6 kB / 0.565 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3657, allocations: 0 / 0.565 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.3658, allocations: 19.92 kB / 0.565 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3658, allocations: 0 / 0.565 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.3658, allocations: 8 kB / 0.565 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.3658, allocations: 3.938 kB / 0.565 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3658, allocations: 0 / 0.565 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.3661, allocations: 204.3 kB / 0.5652 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.3661, allocations: 85.06 kB / 0.5653 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.3661, allocations: 7.984 kB / 0.5653 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.3662, allocations: 11.92 kB / 0.5653 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.3662, allocations: 4 kB / 0.5653 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3663, allocations: 4 kB / 0.5653 GB, free: 13.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.3664, allocations: 168.8 kB / 0.5655 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3664, allocations: 0 / 0.5655 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3667, allocations: 23.94 kB / 0.5655 GB, free: 13.73 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.002112/0.3688, allocations: 1.088 MB / 0.5666 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.369, allocations: 59.84 kB / 0.5666 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.369, allocations: 0 / 0.5666 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.3691, allocations: 36.19 kB / 0.5667 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.3694, allocations: 23.98 kB / 0.5667 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.3715, allocations: 1.701 MB / 0.5684 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.3718, allocations: 0.7119 MB / 0.5691 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.3719, allocations: 16.5 kB / 0.5691 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-05/0.3719, allocations: 43.41 kB / 0.5691 GB, free: 10.08 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.372, allocations: 0 / 0.5691 GB, free: 10.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.3972, allocations: 3.523 MB / 0.5726 GB, free: 6.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.468, allocations: 11.17 kB / 0.5726 GB, free: 6.574 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.29257676997804] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.592720993008697 8.608243638 8.243832212 Calling exit ...