Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001542/0.001542, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001366/0.001366, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 44.93 MB / 359.6 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.89 kB / 0.4938 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3359, allocations: 65.47 MB / 0.5578 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003188/0.3391, allocations: 1.776 MB / 0.5595 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.3419, allocations: 1.739 MB / 0.5612 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.486e-05/0.342, allocations: 0 / 0.5612 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.3423, allocations: 47.7 kB / 0.5613 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.3428, allocations: 147.3 kB / 0.5614 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.343, allocations: 107.7 kB / 0.5615 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.3433, allocations: 211.3 kB / 0.5617 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.781e-05/0.3434, allocations: 9.812 kB / 0.5617 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3435, allocations: 83.58 kB / 0.5618 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.3437, allocations: 90.41 kB / 0.5619 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.3437, allocations: 8 kB / 0.5619 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.3439, allocations: 107.9 kB / 0.562 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/0.344, allocations: 43.83 kB / 0.562 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.082e-05/0.3441, allocations: 51.66 kB / 0.5621 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.3445, allocations: 225 kB / 0.5623 GB, free: 2.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3445, allocations: 0 / 0.5623 GB, free: 2.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3445, allocations: 0 / 0.5623 GB, free: 2.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.3445, allocations: 4 kB / 0.5623 GB, free: 2.883 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007172/0.3452, allocations: 432.9 kB / 0.5627 GB, free: 2.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3453, allocations: 12.03 kB / 0.5627 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.987e-05/0.3453, allocations: 4.188 kB / 0.5627 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.3453, allocations: 38.69 kB / 0.5628 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.3454, allocations: 16.84 kB / 0.5628 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.3457, allocations: 194.1 kB / 0.563 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.3457, allocations: 8.125 kB / 0.563 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.3458, allocations: 4 kB / 0.563 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.346, allocations: 156.5 kB / 0.5631 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.346, allocations: 3.938 kB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.346, allocations: 0 / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.346, allocations: 0 / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.3462, allocations: 35.97 kB / 0.5632 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.3464, allocations: 181.7 kB / 0.5633 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.3467, allocations: 109.1 kB / 0.5634 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3468, allocations: 49.62 kB / 0.5635 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.3468, allocations: 0 / 0.5635 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.3471, allocations: 113 kB / 0.5636 GB, free: 1.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3471, allocations: 0 / 0.5636 GB, free: 1.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005111/0.3476, allocations: 181.4 kB / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.3477, allocations: 128.5 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.348, allocations: 244.1 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.348, allocations: 37.69 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.3481, allocations: 120.1 kB / 0.5643 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.3482, allocations: 27.75 kB / 0.5643 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.3482, allocations: 29.7 kB / 0.5643 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3484, allocations: 326.8 kB / 0.5646 GB, free: 232 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.3485, allocations: 35.97 kB / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.3487, allocations: 124.3 kB / 0.5648 GB, free: 44 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.3489, allocations: 103.8 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3489, allocations: 4.031 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003358/0.3493, allocations: 145.4 kB / 0.565 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3493, allocations: 4 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3493, allocations: 0 / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3493, allocations: 4 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3494, allocations: 19.98 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3494, allocations: 4 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-05/0.3495, allocations: 11.95 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3496, allocations: 7.984 kB / 0.5651 GB, free: 15.73 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001566/0.3497, allocations: 142.3 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.3498, allocations: 15.91 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.3502, allocations: 166.6 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3502, allocations: 4 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3502, allocations: 0 / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3502, allocations: 3.984 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.3504, allocations: 192.5 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3504, allocations: 0 / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.3505, allocations: 12 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3505, allocations: 4 kB / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3505, allocations: 4 kB / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3505, allocations: 4 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3505, allocations: 7.922 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.3509, allocations: 189.9 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.3509, allocations: 23.84 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.351, allocations: 4 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.3511, allocations: 11.98 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.3511, allocations: 7.984 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.3511, allocations: 4 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002283/0.3513, allocations: 189.8 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3513, allocations: 0 / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.3517, allocations: 51.86 kB / 0.5661 GB, free: 14.62 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.002506/0.3542, allocations: 1.156 MB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.3545, allocations: 87.89 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3545, allocations: 0 / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.3546, allocations: 39.92 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.355, allocations: 67.53 kB / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.3576, allocations: 1.908 MB / 0.5693 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.3577, allocations: 111.4 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.3578, allocations: 41.41 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.3579, allocations: 59.39 kB / 0.5695 GB, free: 11.24 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3579, allocations: 4 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.3866, allocations: 5.856 MB / 0.5752 GB, free: 5.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.15, allocations: 14.22 kB / 0.5752 GB, free: 5.449 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.154484174097888] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 12.370546097983606 12.388020239 12.040297496 Calling exit ...