Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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.001289/0.001289, allocations: 108.6 kB / 19.8 MB, free: 2.5 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.001458/0.001458, allocations: 215.6 kB / 23 MB, free: 5.582 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.467/1.467, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.221/0.221, allocations: 46.9 MB / 359.4 MB, free: 4.895 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.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",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.002309/0.002309, allocations: 91.86 kB / 0.4942 GB, free: 8.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3372, allocations: 65.98 MB / 0.5586 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003143/0.3404, allocations: 1.841 MB / 0.5604 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3422, allocations: 1.115 MB / 0.5615 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.979e-05/0.3423, allocations: 0 / 0.5615 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.3428, allocations: 299.3 kB / 0.5618 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.3433, allocations: 259.2 kB / 0.5621 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.3435, allocations: 107.6 kB / 0.5622 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.3439, allocations: 263.3 kB / 0.5624 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.3439, allocations: 5.688 kB / 0.5624 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.3441, allocations: 131.5 kB / 0.5625 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.3443, allocations: 215.8 kB / 0.5627 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.3444, allocations: 8 kB / 0.5628 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3445, allocations: 47.98 kB / 0.5628 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.3446, allocations: 132.5 kB / 0.5629 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.3448, allocations: 150.8 kB / 0.5631 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.3452, allocations: 376 kB / 0.5634 GB, free: 212 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3452, allocations: 0 / 0.5634 GB, free: 212 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3452, allocations: 0 / 0.5634 GB, free: 212 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3452, allocations: 0 / 0.5634 GB, free: 212 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001001/0.3462, allocations: 0.7502 MB / 0.5642 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3462, allocations: 8.031 kB / 0.5642 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.3463, allocations: 38.69 kB / 0.5642 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.3463, allocations: 56.59 kB / 0.5643 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006431/0.347, allocations: 452.4 kB / 0.5647 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.347, allocations: 8.359 kB / 0.5647 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.347, allocations: 384 / 0.5647 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.3472, allocations: 87.5 kB / 0.5648 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3472, allocations: 4 kB / 0.5648 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3472, allocations: 3.984 kB / 0.5648 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3473, allocations: 0 / 0.5648 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.3474, allocations: 31.92 kB / 0.5648 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.3478, allocations: 374.4 kB / 0.5652 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.348, allocations: 97.23 kB / 0.5653 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3482, allocations: 49.56 kB / 0.5653 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.3482, allocations: 4 kB / 0.5653 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.3484, allocations: 109 kB / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.3484, allocations: 0 / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004985/0.3489, allocations: 205.2 kB / 0.5656 GB, free: 13.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.349, allocations: 81.11 kB / 0.5657 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.3501, allocations: 1.022 MB / 0.5667 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3501, allocations: 29.7 kB / 0.5667 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.3503, allocations: 236.1 kB / 0.567 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.3504, allocations: 31.72 kB / 0.567 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.3504, allocations: 25.72 kB / 0.567 GB, free: 12.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3506, allocations: 366.8 kB / 0.5674 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/0.3507, allocations: 31.98 kB / 0.5674 GB, free: 11.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.3508, allocations: 59.41 kB / 0.5674 GB, free: 11.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.351, allocations: 87.36 kB / 0.5675 GB, free: 11.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.351, allocations: 4 kB / 0.5675 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003066/0.3513, allocations: 177.2 kB / 0.5677 GB, free: 11.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3513, allocations: 4 kB / 0.5677 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3513, allocations: 0 / 0.5677 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3513, allocations: 4.625 kB / 0.5677 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3515, allocations: 27.86 kB / 0.5677 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3515, allocations: 0 / 0.5677 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.475e-05/0.3516, allocations: 19.89 kB / 0.5678 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.3516, allocations: 8.047 kB / 0.5678 GB, free: 11.46 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002187/0.3518, allocations: 226.7 kB / 0.568 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.3519, allocations: 55.61 kB / 0.568 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.3522, allocations: 193.7 kB / 0.5682 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3522, allocations: 0 / 0.5682 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3522, allocations: 0 / 0.5682 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3522, allocations: 7.984 kB / 0.5682 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.3526, allocations: 337.5 kB / 0.5685 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.3526, allocations: 11.92 kB / 0.5686 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.3526, allocations: 11.94 kB / 0.5686 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3526, allocations: 0 / 0.5686 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3527, allocations: 8 kB / 0.5686 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3527, allocations: 0 / 0.5686 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3527, allocations: 3.938 kB / 0.5686 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.353, allocations: 221.4 kB / 0.5688 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.3532, allocations: 148.6 kB / 0.5689 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.3532, allocations: 0 / 0.5689 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.3533, allocations: 8 kB / 0.5689 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3533, allocations: 7.984 kB / 0.5689 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3533, allocations: 8 kB / 0.569 GB, free: 10.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008492/0.3542, allocations: 0.7643 MB / 0.5697 GB, free: 9.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3542, allocations: 3.938 kB / 0.5697 GB, free: 9.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3544, allocations: 40 kB / 0.5697 GB, free: 9.328 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002036/0.3565, allocations: 1.057 MB / 0.5708 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.3567, allocations: 79.91 kB / 0.5709 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3567, allocations: 128 / 0.5709 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3569, allocations: 47.91 kB / 0.5709 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.3573, allocations: 76.88 kB / 0.571 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.363, allocations: 4.504 MB / 0.5754 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.3635, allocations: 0.8427 MB / 0.5762 GB, free: 2.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.3636, allocations: 58.94 kB / 0.5762 GB, free: 2.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.3638, allocations: 147.4 kB / 0.5764 GB, free: 2.52 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3638, allocations: 0 / 0.5764 GB, free: 2.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.3973, allocations: 9.03 MB / 0.5852 GB, free: 9.504 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.761/9.158, allocations: 0 / 0.5852 GB, free: 9.504 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.945460440998431] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.285868142993422 9.308729424 8.959270927 Calling exit ...