Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.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.001228/0.001228, 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.001374/0.001374, allocations: 213.2 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.401/1.401, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2432/0.2432, allocations: 46.93 MB / 361.6 MB, free: 4.176 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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2",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.002276/0.002276, allocations: 79.86 kB / 0.497 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3221, allocations: 66.09 MB / 0.5616 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003406/0.3255, allocations: 1.733 MB / 0.5633 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3273, allocations: 1.049 MB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.3274, allocations: 0 / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.3276, allocations: 43.77 kB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.3279, allocations: 91.55 kB / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.3281, allocations: 75.72 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.3283, allocations: 115.6 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.3284, allocations: 9.969 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.3285, allocations: 43.78 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.3286, allocations: 31.84 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3286, allocations: 4 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.504e-05/0.3287, allocations: 39.98 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.3288, allocations: 27.84 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.3288, allocations: 31.75 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.329, allocations: 115.5 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.329, allocations: 0 / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.329, allocations: 8 kB / 0.5649 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.329, allocations: 0 / 0.5649 GB, free: 0.8398 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.0005501/0.3296, allocations: 337.6 kB / 0.5652 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3296, allocations: 8.031 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.3297, allocations: 30.75 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.3297, allocations: 8.891 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.33, allocations: 158.3 kB / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.33, allocations: 4.375 kB / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.33, allocations: 384 / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.3302, allocations: 61.8 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3302, allocations: 4 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.3302, allocations: 0 / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3302, allocations: 4 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.3303, allocations: 15.98 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.3306, allocations: 267.8 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.3308, allocations: 58.67 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.3309, allocations: 20.84 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3309, allocations: 0 / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.331, allocations: 75.27 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.331, allocations: 0 / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005252/0.3316, allocations: 169.5 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.3316, allocations: 55.34 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.3318, allocations: 171.1 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3318, allocations: 29.7 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.3319, allocations: 104.1 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.3319, allocations: 27.78 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.3319, allocations: 21.72 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3321, allocations: 322.8 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.317e-05/0.3321, allocations: 27.98 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.795e-05/0.3322, allocations: 37.7 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3323, allocations: 61.7 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3323, allocations: 0 / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001869/0.3325, allocations: 101.6 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3325, allocations: 8 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3325, allocations: 4.031 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3326, allocations: 0 / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.554e-05/0.3327, allocations: 19.92 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3327, allocations: 4 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.3327, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.3327, allocations: 8 kB / 0.567 GB, free: 14.45 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.0001028/0.3328, allocations: 121.8 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.3328, allocations: 7.953 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.3331, allocations: 122.3 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3331, allocations: 0 / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3331, allocations: 0 / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3331, allocations: 3.984 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.3335, allocations: 362.7 kB / 0.5676 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3335, allocations: 0 / 0.5676 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.3336, allocations: 16 kB / 0.5676 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3336, allocations: 3.938 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3336, allocations: 4 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3336, allocations: 7.969 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3336, allocations: 0 / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.3338, allocations: 200.3 kB / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.3339, allocations: 20.02 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.3339, allocations: 0 / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.334, allocations: 11.88 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.334, allocations: 11.98 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.334, allocations: 4 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.3341, allocations: 127.2 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3341, allocations: 0 / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3344, allocations: 27.92 kB / 0.568 GB, free: 13.33 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.002072/0.3365, allocations: 1.084 MB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.3366, allocations: 55.91 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3366, allocations: 8.062 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.3367, allocations: 19.94 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3371, allocations: 38.31 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.3388, allocations: 1.59 MB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3392, allocations: 0.7041 MB / 0.5715 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.3392, allocations: 13.28 kB / 0.5715 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.3393, allocations: 35.42 kB / 0.5715 GB, free: 9.797 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3393, allocations: 0 / 0.5715 GB, free: 9.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.3647, allocations: 3.424 MB / 0.5748 GB, free: 6.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.633/8.998, allocations: 3.984 kB / 0.5749 GB, free: 6.383 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.372131870128214] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.136262641754001 9.152781935 8.820536926 Calling exit ...