Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.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.001605/0.001605, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002055/0.002055, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.475/1.475, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2702/0.2702, allocations: 46.93 MB / 361.6 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 179] 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.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",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.002375/0.002375, allocations: 79.88 kB / 0.497 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3455, allocations: 66.1 MB / 0.5616 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003415/0.3489, allocations: 1.686 MB / 0.5632 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.3508, allocations: 1.033 MB / 0.5642 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.797e-05/0.3509, allocations: 0 / 0.5642 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.3512, allocations: 47.77 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.3516, allocations: 103.6 kB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.3517, allocations: 75.67 kB / 0.5644 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.3519, allocations: 103.7 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.607e-05/0.352, allocations: 4.234 kB / 0.5646 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3521, allocations: 51.72 kB / 0.5646 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.118e-05/0.3522, allocations: 31.78 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3522, allocations: 4 kB / 0.5646 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.501e-05/0.3523, allocations: 28 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.804e-05/0.3524, allocations: 31.89 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.3524, allocations: 35.69 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.3527, allocations: 129.3 kB / 0.5649 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.3527, allocations: 7.938 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3527, allocations: 0 / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.3527, allocations: 0 / 0.5649 GB, free: 0.8789 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006649/0.3533, allocations: 369.3 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3534, allocations: 12.03 kB / 0.5652 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.3534, allocations: 38.73 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.3535, allocations: 12.89 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.3538, allocations: 163.2 kB / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3538, allocations: 384 / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3539, allocations: 8.359 kB / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.354, allocations: 53.73 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.354, allocations: 0 / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.354, allocations: 4 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3541, allocations: 0 / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.581e-05/0.3541, allocations: 15.98 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002728/0.3544, allocations: 160.8 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.3546, allocations: 50.62 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.139e-05/0.3546, allocations: 20.84 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.3547, allocations: 0 / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.3548, allocations: 75.27 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3548, allocations: 0 / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003049/0.3551, allocations: 97.58 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.3552, allocations: 55.41 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.3555, allocations: 270.8 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.3555, allocations: 25.7 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.3556, allocations: 112.1 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.3556, allocations: 19.83 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.3557, allocations: 21.72 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3559, allocations: 330.8 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.3559, allocations: 15.98 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-05/0.356, allocations: 29.7 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.979e-05/0.3561, allocations: 41.72 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3561, allocations: 0 / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001746/0.3562, allocations: 93.45 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3563, allocations: 8.031 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3563, allocations: 3.938 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3563, allocations: 320 / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.3564, allocations: 12 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3564, allocations: 0 / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.3564, allocations: 7.953 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3564, allocations: 7.984 kB / 0.5669 GB, free: 14.57 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 (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.0001362/0.3566, allocations: 138.6 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.3566, allocations: 19.78 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.3568, allocations: 94.77 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3568, allocations: 0 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3568, allocations: 0 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3568, allocations: 0 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.357, allocations: 172.7 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.357, allocations: 3.938 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/0.357, allocations: 7.984 kB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.357, allocations: 0 / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.357, allocations: 0 / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.357, allocations: 0 / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.357, allocations: 4 kB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.3572, allocations: 117 kB / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.3573, allocations: 15.84 kB / 0.5674 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3573, allocations: 4 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.712e-05/0.3573, allocations: 0 / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.3574, allocations: 11.97 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3574, allocations: 4 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.3576, allocations: 200.6 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3576, allocations: 4 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.3578, allocations: 23.92 kB / 0.5677 GB, free: 13.69 MB / 414.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.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001964/0.3598, allocations: 0.9518 MB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.3599, allocations: 35.98 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3599, allocations: 0 / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.404e-05/0.36, allocations: 23.92 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.3603, allocations: 23.98 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.3623, allocations: 1.683 MB / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3627, allocations: 0.7235 MB / 0.571 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.616e-05/0.3628, allocations: 16.48 kB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.3628, allocations: 39.42 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3628, allocations: 0 / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.39, allocations: 3.57 MB / 0.5746 GB, free: 6.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.48, allocations: 7.672 kB / 0.5746 GB, free: 6.633 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.636404276359826] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.622279472183436 8.648126245 8.290735451 Calling exit ...