Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.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.001681/0.001681, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002363/0.002363, allocations: 216.3 kB / 23 MB, free: 5.609 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.5/1.5, allocations: 230.2 MB / 256.2 MB, free: 8.734 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.2377/0.2377, allocations: 46.89 MB / 359.4 MB, free: 4.945 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.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable",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.00237/0.00237, allocations: 80.09 kB / 0.4941 GB, free: 9.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3484, allocations: 65.99 MB / 0.5586 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00409/0.3524, allocations: 2.339 MB / 0.5608 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.3558, allocations: 1.719 MB / 0.5625 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.356, allocations: 7.938 kB / 0.5625 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.3564, allocations: 147.2 kB / 0.5627 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006769/0.3571, allocations: 290.7 kB / 0.563 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.3586, allocations: 0.5285 MB / 0.5635 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007191/0.3593, allocations: 0.5649 MB / 0.564 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.3594, allocations: 54.89 kB / 0.5641 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.3598, allocations: 235 kB / 0.5643 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.3602, allocations: 243 kB / 0.5645 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.3602, allocations: 24 kB / 0.5646 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.3606, allocations: 183.8 kB / 0.5647 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.3608, allocations: 135.5 kB / 0.5649 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.361, allocations: 206.6 kB / 0.5651 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007755/0.3618, allocations: 0.5991 MB / 0.5656 GB, free: 13.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3618, allocations: 4 kB / 0.5656 GB, free: 13.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3618, allocations: 0 / 0.5656 GB, free: 13.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.3618, allocations: 3.938 kB / 0.5656 GB, free: 13.91 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001441/0.3632, allocations: 0.9289 MB / 0.5666 GB, free: 12.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.3633, allocations: 12.03 kB / 0.5666 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/0.3633, allocations: 50.67 kB / 0.5666 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.3635, allocations: 60.56 kB / 0.5667 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008138/0.3643, allocations: 484.5 kB / 0.5671 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.3643, allocations: 12.61 kB / 0.5671 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.3643, allocations: 12.38 kB / 0.5672 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.3649, allocations: 273 kB / 0.5674 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3649, allocations: 0 / 0.5674 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.3649, allocations: 7.984 kB / 0.5674 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.3649, allocations: 4 kB / 0.5674 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.3652, allocations: 107.9 kB / 0.5675 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.3665, allocations: 0.8836 MB / 0.5684 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.3672, allocations: 290.5 kB / 0.5687 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.3674, allocations: 99.39 kB / 0.5688 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.3675, allocations: 4 kB / 0.5688 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004401/0.3679, allocations: 221.9 kB / 0.569 GB, free: 10.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.874e-06/0.3679, allocations: 0 / 0.569 GB, free: 10.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001041/0.3689, allocations: 413.4 kB / 0.5694 GB, free: 9.777 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002268/0.3692, allocations: 346.1 kB / 0.5697 GB, free: 9.359 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/0.3701, allocations: 0.6669 MB / 0.5704 GB, free: 8.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.3701, allocations: 37.7 kB / 0.5704 GB, free: 8.637 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.3703, allocations: 244.5 kB / 0.5706 GB, free: 8.395 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.325e-05/0.3704, allocations: 75.53 kB / 0.5707 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.3705, allocations: 57.69 kB / 0.5708 GB, free: 8.258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.3707, allocations: 366.8 kB / 0.5711 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.371, allocations: 79.95 kB / 0.5712 GB, free: 7.812 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.3713, allocations: 245 kB / 0.5714 GB, free: 7.512 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.3718, allocations: 227.3 kB / 0.5716 GB, free: 7.266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3718, allocations: 4 kB / 0.5716 GB, free: 7.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006632/0.3725, allocations: 321.2 kB / 0.5719 GB, free: 6.941 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3725, allocations: 4 kB / 0.5719 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3725, allocations: 7.984 kB / 0.572 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3725, allocations: 4 kB / 0.572 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.3728, allocations: 55.91 kB / 0.572 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.3728, allocations: 15.86 kB / 0.572 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.373, allocations: 27.88 kB / 0.572 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.373, allocations: 12 kB / 0.5721 GB, free: 6.816 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002768/0.3733, allocations: 221.8 kB / 0.5723 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.664e-05/0.3734, allocations: 59.62 kB / 0.5723 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000814/0.3742, allocations: 346 kB / 0.5727 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3742, allocations: 11.88 kB / 0.5727 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3742, allocations: 3.938 kB / 0.5727 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.3742, allocations: 0 / 0.5727 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005613/0.3748, allocations: 421.2 kB / 0.5731 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3748, allocations: 4 kB / 0.5731 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.3749, allocations: 27.97 kB / 0.5731 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3749, allocations: 4 kB / 0.5731 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.375, allocations: 4 kB / 0.5731 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.375, allocations: 7.938 kB / 0.5731 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.375, allocations: 7.922 kB / 0.5731 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007308/0.3757, allocations: 367 kB / 0.5735 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.3758, allocations: 132.7 kB / 0.5736 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/0.3759, allocations: 12 kB / 0.5736 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.3761, allocations: 15.98 kB / 0.5736 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.3762, allocations: 39.89 kB / 0.5737 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.3762, allocations: 19.98 kB / 0.5737 GB, free: 5.031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006345/0.3769, allocations: 490.8 kB / 0.5742 GB, free: 4.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3769, allocations: 0 / 0.5742 GB, free: 4.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004344/0.3773, allocations: 95.92 kB / 0.5742 GB, free: 4.461 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002594/0.3799, allocations: 1.248 MB / 0.5755 GB, free: 3.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005935/0.3805, allocations: 232.7 kB / 0.5757 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3805, allocations: 4 kB / 0.5757 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.3808, allocations: 160.1 kB / 0.5758 GB, free: 2.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.3816, allocations: 153.4 kB / 0.576 GB, free: 2.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006161/0.3877, allocations: 4.281 MB / 0.5802 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.3883, allocations: 0.8506 MB / 0.581 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.3886, allocations: 87.25 kB / 0.5811 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.3888, allocations: 171.4 kB / 0.5813 GB, free: 13.23 MB / 430.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3888, allocations: 4 kB / 0.5813 GB, free: 13.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.4324, allocations: 12.87 MB / 0.5938 GB, free: 408 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.14/9.573, allocations: 5.5 kB / 0.5938 GB, free: 408 kB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599161 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.420307166001294] Failed to read output from testmodel.py, exit status != 0: ['time', 'integerTable.y', 'integerTable2.y', 'integerTable3.y', 'integerTable4.y'] 9.706243588996585 9.730099068 9.363639393 Calling exit ...