Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.00168/0.00168, allocations: 110.5 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.492/1.492, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2383/0.2383, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",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.002264/0.002264, allocations: 75.88 kB / 0.497 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3839, allocations: 66.09 MB / 0.5616 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00371/0.3876, allocations: 1.702 MB / 0.5632 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3895, allocations: 1.021 MB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.757e-05/0.3895, allocations: 0 / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.3899, allocations: 91.69 kB / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.3902, allocations: 111.6 kB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.3904, allocations: 83.66 kB / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.3906, allocations: 107.7 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.3907, allocations: 240 / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.3908, allocations: 63.69 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.391, allocations: 59.75 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.391, allocations: 4 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.039e-05/0.3911, allocations: 35.98 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.3911, allocations: 23.92 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.3912, allocations: 35.73 kB / 0.5648 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.3914, allocations: 109.5 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3914, allocations: 0 / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3914, allocations: 3.938 kB / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3914, allocations: 0 / 0.5649 GB, free: 0.8555 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.0005828/0.392, allocations: 353.5 kB / 0.5653 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.392, allocations: 12.03 kB / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.3921, allocations: 30.75 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.3921, allocations: 16.84 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.3924, allocations: 154.3 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3924, allocations: 4.359 kB / 0.5655 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.3925, allocations: 4.375 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.3926, allocations: 49.8 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3926, allocations: 3.938 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3926, allocations: 4 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3926, allocations: 0 / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.913e-05/0.3927, allocations: 15.98 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.393, allocations: 160.8 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.3931, allocations: 46.61 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.3932, allocations: 16.86 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.3932, allocations: 7.891 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.3934, allocations: 79.27 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.3934, allocations: 0 / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003142/0.3937, allocations: 93.58 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.3937, allocations: 63.34 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.394, allocations: 215.5 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.394, allocations: 29.7 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.3941, allocations: 104.1 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.3941, allocations: 11.88 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.3942, allocations: 21.72 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3943, allocations: 330.8 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/0.3944, allocations: 19.92 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.3944, allocations: 29.7 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3946, allocations: 41.7 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3946, allocations: 0 / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001635/0.3947, allocations: 97.45 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3947, allocations: 4 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3948, allocations: 0 / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3948, allocations: 4 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.642e-05/0.3948, allocations: 8 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.3949, allocations: 0 / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.3949, allocations: 8 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3949, allocations: 0 / 0.5669 GB, free: 14.64 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.0001278/0.395, allocations: 138.7 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.3951, allocations: 15.84 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.3953, allocations: 94.75 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3953, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3953, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3953, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.3955, allocations: 164.7 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3955, allocations: 4.312 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.3955, allocations: 0 / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3955, allocations: 8 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.3955, allocations: 4 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3955, allocations: 0 / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3955, allocations: 0 / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.3957, allocations: 113 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.3957, allocations: 19.84 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3958, allocations: 4 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.3958, allocations: 3.984 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.3958, allocations: 11.98 kB / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.3958, allocations: 0 / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.396, allocations: 169.1 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.396, allocations: 0 / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.3962, allocations: 23.92 kB / 0.5676 GB, free: 13.8 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.002047/0.3983, allocations: 0.9517 MB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.3985, allocations: 31.98 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3985, allocations: 0 / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/0.3986, allocations: 23.92 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.3988, allocations: 27.73 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.4008, allocations: 1.568 MB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.4011, allocations: 0.7158 MB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.04e-05/0.4012, allocations: 16.47 kB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.4013, allocations: 27.44 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4013, allocations: 0 / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.4287, allocations: 3.336 MB / 0.5742 GB, free: 7.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.481, allocations: 7.938 kB / 0.5742 GB, free: 7.113 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019972 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.582224005833268] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.619757142383605 8.636230778 8.241639324 Calling exit ...