Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.001267/0.001267, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00152/0.00152, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.442/1.442, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2384/0.2384, allocations: 46.94 MB / 361.6 MB, free: 4.203 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.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",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.003774/0.003774, allocations: 83.88 kB / 0.497 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3448, allocations: 66.08 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003802/0.3486, allocations: 1.944 MB / 0.5635 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.3508, allocations: 1.15 MB / 0.5646 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.879e-05/0.3509, allocations: 3.938 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.3513, allocations: 167.5 kB / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.3517, allocations: 179.3 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.352, allocations: 123.6 kB / 0.5651 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000363/0.3524, allocations: 243.3 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3525, allocations: 23.91 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.3527, allocations: 123.5 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.3529, allocations: 139.5 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.3529, allocations: 8 kB / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3531, allocations: 71.97 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3532, allocations: 55.7 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.3533, allocations: 83.44 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.3536, allocations: 222.9 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3536, allocations: 4 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3536, allocations: 0 / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3536, allocations: 0 / 0.566 GB, free: 15.75 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007806/0.3544, allocations: 480.5 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3544, allocations: 12.03 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.3545, allocations: 42.73 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.3545, allocations: 28.75 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.355, allocations: 218.5 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.355, allocations: 8.375 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.355, allocations: 8.375 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.3553, allocations: 118.2 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3553, allocations: 0 / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3553, allocations: 4 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3553, allocations: 4 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.3555, allocations: 51.89 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.3561, allocations: 432 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.3565, allocations: 117.2 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.3566, allocations: 45.77 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.3567, allocations: 3.984 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.3569, allocations: 132.3 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.3569, allocations: 0 / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001447/0.3584, allocations: 0.4898 MB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.3585, allocations: 81.09 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.3589, allocations: 372.5 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.3589, allocations: 29.7 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.3591, allocations: 152.5 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/0.3592, allocations: 75.38 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.3592, allocations: 49.58 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.3595, allocations: 346.7 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3596, allocations: 59.98 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.3598, allocations: 96.2 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.3601, allocations: 155.4 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3601, allocations: 0 / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004151/0.3605, allocations: 233.6 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3605, allocations: 10.19 kB / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.3605, allocations: 8 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3605, allocations: 0 / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.3607, allocations: 43.92 kB / 0.5697 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3607, allocations: 4 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.173e-05/0.3608, allocations: 11.98 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.3608, allocations: 8 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001734/0.361, allocations: 157.8 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.361, allocations: 31.81 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005332/0.3615, allocations: 267.2 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3615, allocations: 4 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3615, allocations: 0 / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3616, allocations: 3.984 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009903/0.3625, allocations: 0.695 MB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3625, allocations: 4 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.503e-05/0.3626, allocations: 27.98 kB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3626, allocations: 0 / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3626, allocations: 8 kB / 0.5709 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3627, allocations: 4 kB / 0.5709 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3627, allocations: 7.938 kB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005477/0.3632, allocations: 422.1 kB / 0.5713 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.3632, allocations: 23.8 kB / 0.5713 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.3633, allocations: 8 kB / 0.5714 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3634, allocations: 11.98 kB / 0.5714 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.3635, allocations: 31.84 kB / 0.5714 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.3635, allocations: 8 kB / 0.5714 GB, free: 9.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000316/0.3638, allocations: 279 kB / 0.5717 GB, free: 9.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3638, allocations: 0 / 0.5717 GB, free: 9.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003623/0.3642, allocations: 51.92 kB / 0.5717 GB, free: 9.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00273/0.3669, allocations: 1.345 MB / 0.573 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003707/0.3673, allocations: 159.8 kB / 0.5732 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3673, allocations: 0 / 0.5732 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.3675, allocations: 71.78 kB / 0.5733 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.368, allocations: 66.92 kB / 0.5733 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.3716, allocations: 2.715 MB / 0.576 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.372, allocations: 0.7636 MB / 0.5767 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.3722, allocations: 41.91 kB / 0.5768 GB, free: 4.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.3723, allocations: 91.39 kB / 0.5768 GB, free: 4.27 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3723, allocations: 0 / 0.5768 GB, free: 4.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.404, allocations: 6.259 MB / 0.583 GB, free: 14.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/8.684, allocations: 2.891 kB / 0.583 GB, free: 14.03 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.691603863146156] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.845792300999165 8.869680682 8.511333736 Calling exit ...