Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 214.1 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.223/0.223, allocations: 46.96 MB / 361.7 MB, free: 4.023 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegerTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegerTable",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 67.91 kB / 0.4969 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3571, allocations: 66.03 MB / 0.5613 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004757/0.3619, allocations: 2.21 MB / 0.5635 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003155/0.3651, allocations: 1.619 MB / 0.5651 GB, free: 404 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.3652, allocations: 7.938 kB / 0.5651 GB, free: 396 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.3657, allocations: 143.2 kB / 0.5652 GB, free: 252 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007959/0.3665, allocations: 290.9 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.3679, allocations: 0.5412 MB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006896/0.3685, allocations: 0.5803 MB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.3687, allocations: 47.08 kB / 0.5666 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.369, allocations: 239 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.3693, allocations: 247 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.261e-05/0.3694, allocations: 28 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.3697, allocations: 195.8 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.3699, allocations: 139.5 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.3701, allocations: 155 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007572/0.3709, allocations: 0.6069 MB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3709, allocations: 3.938 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3709, allocations: 0 / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3709, allocations: 4 kB / 0.5682 GB, free: 13.19 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.001376/0.3723, allocations: 0.8652 MB / 0.569 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.3723, allocations: 12.03 kB / 0.569 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.329e-05/0.3723, allocations: 4.422 kB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.595e-05/0.3724, allocations: 50.73 kB / 0.5691 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.3725, allocations: 56.56 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.3732, allocations: 410.5 kB / 0.5695 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.3733, allocations: 20.34 kB / 0.5696 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.3733, allocations: 12 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007175/0.374, allocations: 474.5 kB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.374, allocations: 4 kB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.3741, allocations: 8 kB / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3741, allocations: 4 kB / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004858/0.3746, allocations: 123.8 kB / 0.5702 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.3763, allocations: 0.8203 MB / 0.571 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.3774, allocations: 298.5 kB / 0.5713 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.3778, allocations: 107.4 kB / 0.5714 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.3778, allocations: 4 kB / 0.5714 GB, free: 9.664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006748/0.3785, allocations: 220.2 kB / 0.5716 GB, free: 9.426 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.615e-06/0.3785, allocations: 0 / 0.5716 GB, free: 9.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001602/0.3801, allocations: 436.9 kB / 0.572 GB, free: 8.992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002756/0.3804, allocations: 342.1 kB / 0.5723 GB, free: 8.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.3817, allocations: 0.6709 MB / 0.573 GB, free: 7.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.3818, allocations: 37.7 kB / 0.573 GB, free: 7.852 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.3821, allocations: 244.4 kB / 0.5732 GB, free: 7.609 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.3822, allocations: 63.61 kB / 0.5733 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.3824, allocations: 65.69 kB / 0.5734 GB, free: 7.477 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003015/0.3827, allocations: 370.8 kB / 0.5737 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.3831, allocations: 83.95 kB / 0.5738 GB, free: 7.023 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008048/0.3839, allocations: 0.5566 MB / 0.5743 GB, free: 6.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007694/0.3846, allocations: 239.7 kB / 0.5746 GB, free: 6.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3846, allocations: 0 / 0.5746 GB, free: 6.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001099/0.3857, allocations: 337.1 kB / 0.5749 GB, free: 5.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3858, allocations: 4 kB / 0.5749 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3858, allocations: 3.938 kB / 0.5749 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.3858, allocations: 4 kB / 0.5749 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.3862, allocations: 59.91 kB / 0.575 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3862, allocations: 0 / 0.575 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.3865, allocations: 31.81 kB / 0.575 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.3866, allocations: 19.98 kB / 0.575 GB, free: 5.617 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.0004045/0.387, allocations: 226 kB / 0.5752 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.3871, allocations: 55.62 kB / 0.5753 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.3884, allocations: 381.5 kB / 0.5756 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3884, allocations: 4 kB / 0.5756 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.3884, allocations: 4 kB / 0.5756 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3884, allocations: 3.984 kB / 0.5756 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.3891, allocations: 356.4 kB / 0.576 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3891, allocations: 0 / 0.576 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.3893, allocations: 35.92 kB / 0.576 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.3893, allocations: 0 / 0.576 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/0.3894, allocations: 15.92 kB / 0.576 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.3894, allocations: 7.938 kB / 0.576 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3894, allocations: 0 / 0.576 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.3905, allocations: 403.1 kB / 0.5764 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.3907, allocations: 63.58 kB / 0.5765 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.3908, allocations: 11.94 kB / 0.5765 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.3911, allocations: 15.98 kB / 0.5765 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.3912, allocations: 47.94 kB / 0.5766 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.3913, allocations: 8 kB / 0.5766 GB, free: 3.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009179/0.3922, allocations: 498.8 kB / 0.577 GB, free: 3.438 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3922, allocations: 0 / 0.577 GB, free: 3.438 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00072/0.3929, allocations: 107.9 kB / 0.5771 GB, free: 3.332 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 (28): * Single equations (assignments): 20 * 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.003867/0.3968, allocations: 1.328 MB / 0.5784 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.3978, allocations: 244 kB / 0.5787 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3978, allocations: 3.938 kB / 0.5787 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005957/0.3984, allocations: 175.8 kB / 0.5788 GB, free: 1.742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.3995, allocations: 151.7 kB / 0.579 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009166/0.4087, allocations: 4.34 MB / 0.5832 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.4091, allocations: 254 kB / 0.5835 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004387/0.4095, allocations: 83.25 kB / 0.5836 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004312/0.41, allocations: 179.4 kB / 0.5837 GB, free: 12.58 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.41, allocations: 0 / 0.5837 GB, free: 12.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05377/0.4637, allocations: 13.94 MB / 0.5973 GB, free: 14.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.98, allocations: 6.984 kB / 0.5973 GB, free: 14.8 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --stepSize=0.000599161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.07246374001261] Failed to read output from testmodel.py, exit status != 0: ['time', 'integerTable.y', 'integerTable2.y', 'integerTable3.y', 'integerTable4.y'] 13.206952843931504 13.223961711 12.848081191 Calling exit ...