Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.002029/0.002029, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002195/0.002195, allocations: 219.5 kB / 23 MB, free: 5.609 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.472/1.472, allocations: 230.2 MB / 256.2 MB, free: 8.723 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.2248/0.2248, allocations: 46.89 MB / 359.4 MB, free: 4.949 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.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",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.00364/0.00364, allocations: 79.88 kB / 0.4942 GB, free: 8.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3507, allocations: 65.98 MB / 0.5586 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002982/0.3536, allocations: 1.698 MB / 0.5603 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3553, allocations: 1.018 MB / 0.5613 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.572e-05/0.3554, allocations: 0 / 0.5613 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.3557, allocations: 71.72 kB / 0.5614 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.356, allocations: 107.6 kB / 0.5615 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.3561, allocations: 75.67 kB / 0.5615 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.3563, allocations: 103.7 kB / 0.5616 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.3564, allocations: 4.219 kB / 0.5616 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.3565, allocations: 51.77 kB / 0.5617 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3566, allocations: 51.77 kB / 0.5617 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.3566, allocations: 4 kB / 0.5618 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.228e-05/0.3567, allocations: 35.92 kB / 0.5618 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.3567, allocations: 19.92 kB / 0.5618 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.3568, allocations: 31.8 kB / 0.5618 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.357, allocations: 109.4 kB / 0.5619 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.357, allocations: 0 / 0.5619 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.357, allocations: 0 / 0.5619 GB, free: 1.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.357, allocations: 0 / 0.5619 GB, free: 1.781 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.0005654/0.3576, allocations: 414.7 kB / 0.5623 GB, free: 1.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3576, allocations: 8.031 kB / 0.5623 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.812e-05/0.3576, allocations: 42.69 kB / 0.5624 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.3577, allocations: 16.84 kB / 0.5624 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.358, allocations: 208.9 kB / 0.5626 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.358, allocations: 384 / 0.5626 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.358, allocations: 384 / 0.5626 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3581, allocations: 57.8 kB / 0.5627 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3581, allocations: 0 / 0.5627 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3582, allocations: 0 / 0.5627 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3582, allocations: 3.938 kB / 0.5627 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.671e-05/0.3582, allocations: 15.98 kB / 0.5627 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.3585, allocations: 197.6 kB / 0.5629 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.3586, allocations: 50.59 kB / 0.5629 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.3587, allocations: 16.86 kB / 0.5629 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.3587, allocations: 0 / 0.5629 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.3589, allocations: 71.33 kB / 0.563 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.3589, allocations: 0 / 0.563 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000278/0.3592, allocations: 93.56 kB / 0.5631 GB, free: 440 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.3592, allocations: 59.39 kB / 0.5631 GB, free: 368 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.3594, allocations: 194.4 kB / 0.5633 GB, free: 164 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3594, allocations: 25.7 kB / 0.5633 GB, free: 132 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.3595, allocations: 100.1 kB / 0.5634 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.3595, allocations: 19.83 kB / 0.5635 GB, free: 8 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.3596, allocations: 17.77 kB / 0.5635 GB, free: 15.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3597, allocations: 326.8 kB / 0.5638 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.971e-05/0.3598, allocations: 12 kB / 0.5638 GB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.3598, allocations: 29.7 kB / 0.5638 GB, free: 15.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.36, allocations: 49.64 kB / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.36, allocations: 0 / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001626/0.3601, allocations: 89.47 kB / 0.564 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3601, allocations: 8 kB / 0.564 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3601, allocations: 0 / 0.564 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3601, allocations: 0 / 0.564 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.3602, allocations: 11.98 kB / 0.564 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3602, allocations: 4 kB / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.3603, allocations: 3.938 kB / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3603, allocations: 4 kB / 0.564 GB, free: 15.43 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.000101/0.3604, allocations: 128.8 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.3604, allocations: 15.92 kB / 0.5641 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.3606, allocations: 90.92 kB / 0.5642 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3606, allocations: 0 / 0.5642 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3606, allocations: 8.062 kB / 0.5642 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3606, allocations: 0 / 0.5642 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.3608, allocations: 193.6 kB / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3608, allocations: 3.938 kB / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.3608, allocations: 0 / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3608, allocations: 4 kB / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3608, allocations: 0 / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3608, allocations: 4 kB / 0.5644 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3608, allocations: 0 / 0.5644 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.361, allocations: 105.1 kB / 0.5645 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.361, allocations: 100.9 kB / 0.5646 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.3611, allocations: 0 / 0.5646 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.3611, allocations: 4 kB / 0.5646 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.3611, allocations: 0 / 0.5646 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.3611, allocations: 8 kB / 0.5646 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.3613, allocations: 148.2 kB / 0.5648 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3613, allocations: 0 / 0.5648 GB, free: 14.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.3615, allocations: 27.86 kB / 0.5648 GB, free: 14.5 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.001851/0.3633, allocations: 0.9387 MB / 0.5657 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.3635, allocations: 43.92 kB / 0.5658 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3635, allocations: 0 / 0.5658 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.838e-05/0.3636, allocations: 12 kB / 0.5658 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3638, allocations: 37.88 kB / 0.5658 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.3655, allocations: 1.518 MB / 0.5673 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.3659, allocations: 0.7165 MB / 0.568 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.029e-05/0.3659, allocations: 16.53 kB / 0.568 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.945e-05/0.366, allocations: 31.42 kB / 0.568 GB, free: 11.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.366, allocations: 0 / 0.568 GB, free: 11.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.3907, allocations: 3.159 MB / 0.5711 GB, free: 8.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.458, allocations: 18.48 kB / 0.5711 GB, free: 8.047 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.277015362022212] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.58626663099858 8.607647389 8.246217245 Calling exit ...