Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.001365/0.001365, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001477/0.001477, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.436/1.436, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2251/0.2251, allocations: 46.92 MB / 361.6 MB, free: 4.211 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.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",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.002314/0.002314, allocations: 87.84 kB / 0.497 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3097, allocations: 66.08 MB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003211/0.3129, allocations: 1.827 MB / 0.5634 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.3148, allocations: 1.115 MB / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.3149, allocations: 8 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.3154, allocations: 307.2 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004713/0.3159, allocations: 251.2 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.3162, allocations: 107.7 kB / 0.5651 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.3165, allocations: 263.2 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.3165, allocations: 9.812 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.3167, allocations: 139.5 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.317, allocations: 212 kB / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.317, allocations: 4 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3171, allocations: 59.91 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.3173, allocations: 128.5 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3174, allocations: 150.8 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.3179, allocations: 372.2 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3179, allocations: 0 / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3179, allocations: 0 / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3179, allocations: 0 / 0.5664 GB, free: 15.38 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009574/0.3189, allocations: 0.6786 MB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3189, allocations: 8.031 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.3189, allocations: 42.75 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.891e-05/0.319, allocations: 52.59 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006166/0.3196, allocations: 390.5 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3197, allocations: 4.375 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.3197, allocations: 4.359 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.3199, allocations: 95.47 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3199, allocations: 0 / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3199, allocations: 8 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.3199, allocations: 0 / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.32, allocations: 35.91 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.3204, allocations: 345.5 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.3207, allocations: 101.2 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.33e-05/0.3208, allocations: 33.7 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3208, allocations: 7.938 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.321, allocations: 120.9 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.321, allocations: 0 / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004722/0.3215, allocations: 201.2 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.3216, allocations: 81.11 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.3228, allocations: 1.026 MB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.3228, allocations: 29.7 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.323, allocations: 236.1 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.323, allocations: 19.86 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.3231, allocations: 33.7 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3233, allocations: 366.8 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.091e-05/0.3234, allocations: 31.92 kB / 0.5702 GB, free: 11.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3235, allocations: 63.34 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.3236, allocations: 91.36 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3236, allocations: 0 / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003064/0.324, allocations: 177.7 kB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.324, allocations: 4 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.324, allocations: 0 / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.324, allocations: 4 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3241, allocations: 23.92 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3241, allocations: 8.125 kB / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-05/0.3242, allocations: 19.89 kB / 0.5705 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3242, allocations: 4 kB / 0.5706 GB, free: 10.82 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.0002155/0.3244, allocations: 215.5 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.3245, allocations: 59.61 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.3249, allocations: 193.8 kB / 0.571 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3249, allocations: 0 / 0.571 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3249, allocations: 4 kB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3249, allocations: 4 kB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.3252, allocations: 312.5 kB / 0.5713 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3252, allocations: 3.938 kB / 0.5713 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.3253, allocations: 8 kB / 0.5713 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3253, allocations: 7.938 kB / 0.5713 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3253, allocations: 7.984 kB / 0.5713 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3253, allocations: 0 / 0.5713 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3253, allocations: 4 kB / 0.5713 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.3257, allocations: 217.5 kB / 0.5715 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.3258, allocations: 75.45 kB / 0.5716 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.3258, allocations: 4 kB / 0.5716 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.3259, allocations: 11.98 kB / 0.5716 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.3259, allocations: 7.984 kB / 0.5716 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.326, allocations: 4 kB / 0.5716 GB, free: 9.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008614/0.3268, allocations: 0.7643 MB / 0.5724 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3268, allocations: 4 kB / 0.5724 GB, free: 8.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.3271, allocations: 40 kB / 0.5724 GB, free: 8.82 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.002037/0.3291, allocations: 1.054 MB / 0.5735 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.3294, allocations: 79.91 kB / 0.5735 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3294, allocations: 0 / 0.5735 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.3295, allocations: 43.91 kB / 0.5736 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.3299, allocations: 66.72 kB / 0.5736 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00558/0.3355, allocations: 4.485 MB / 0.578 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.336, allocations: 0.8464 MB / 0.5788 GB, free: 2.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.3361, allocations: 58.94 kB / 0.5789 GB, free: 2.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.3363, allocations: 147.4 kB / 0.579 GB, free: 2.02 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3363, allocations: 4 kB / 0.579 GB, free: 2.016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.3711, allocations: 9.121 MB / 0.588 GB, free: 8.902 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.704/9.076, allocations: 0 / 0.588 GB, free: 8.902 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.020804404746741] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.223497886676341 9.251750454 8.928699857 Calling exit ...