Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001495/0.001495, 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.001948/0.001948, allocations: 212.9 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.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2356/0.2356, allocations: 44.93 MB / 359.6 MB, free: 6.094 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.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",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.002012/0.002012, allocations: 67.91 kB / 0.4939 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3744, allocations: 65.47 MB / 0.5578 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004341/0.3787, allocations: 2.161 MB / 0.5599 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.3811, allocations: 1.275 MB / 0.5612 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.3813, allocations: 7.938 kB / 0.5612 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.3817, allocations: 119.3 kB / 0.5613 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.3823, allocations: 254.9 kB / 0.5615 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.3828, allocations: 195.6 kB / 0.5617 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005919/0.3834, allocations: 462.6 kB / 0.5622 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.3835, allocations: 47.08 kB / 0.5622 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.3839, allocations: 303 kB / 0.5625 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.3841, allocations: 171.1 kB / 0.5626 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.3842, allocations: 16 kB / 0.5627 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.3843, allocations: 71.98 kB / 0.5627 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.3845, allocations: 135.5 kB / 0.5629 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.3847, allocations: 142.8 kB / 0.563 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.3852, allocations: 449.7 kB / 0.5634 GB, free: 1.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3852, allocations: 0 / 0.5634 GB, free: 1.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.3852, allocations: 0 / 0.5634 GB, free: 1.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.3852, allocations: 7.938 kB / 0.5634 GB, free: 1.785 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001321/0.3866, allocations: 0.7644 MB / 0.5642 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3866, allocations: 8.031 kB / 0.5642 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.782e-05/0.3866, allocations: 4.188 kB / 0.5642 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.3867, allocations: 46.73 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.3868, allocations: 76.44 kB / 0.5643 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006182/0.3874, allocations: 343.3 kB / 0.5646 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.3875, allocations: 16.12 kB / 0.5647 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.3875, allocations: 15.95 kB / 0.5647 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.3879, allocations: 209.4 kB / 0.5649 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3879, allocations: 4 kB / 0.5649 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.388, allocations: 8 kB / 0.5649 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.388, allocations: 4 kB / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.3882, allocations: 95.86 kB / 0.565 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.3892, allocations: 0.7578 MB / 0.5657 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006919/0.3899, allocations: 246.4 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.3901, allocations: 91.5 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3902, allocations: 4 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003995/0.3906, allocations: 204.2 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.3906, allocations: 3.938 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002676/0.3932, allocations: 1.183 MB / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.959e-05/0.3933, allocations: 136.5 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009815/0.3943, allocations: 0.8087 MB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.3944, allocations: 41.64 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.3946, allocations: 245 kB / 0.5686 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.3947, allocations: 150.8 kB / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.3949, allocations: 78.08 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.3951, allocations: 378.8 kB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.3953, allocations: 116.8 kB / 0.5693 GB, free: 11.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.3956, allocations: 187.2 kB / 0.5695 GB, free: 11.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.3962, allocations: 330.9 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3962, allocations: 0 / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007869/0.397, allocations: 453.2 kB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.397, allocations: 11.98 kB / 0.5702 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.397, allocations: 0 / 0.5702 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.397, allocations: 4 kB / 0.5702 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.3973, allocations: 87.84 kB / 0.5703 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.3973, allocations: 11.92 kB / 0.5703 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.3975, allocations: 24.06 kB / 0.5703 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3975, allocations: 19.98 kB / 0.5704 GB, free: 10.35 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: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002483/0.3978, allocations: 228.1 kB / 0.5706 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3979, allocations: 71.53 kB / 0.5706 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.3989, allocations: 0.5141 MB / 0.5711 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.3989, allocations: 4 kB / 0.5711 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3989, allocations: 7.938 kB / 0.5712 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3989, allocations: 3.984 kB / 0.5712 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.4007, allocations: 1.294 MB / 0.5724 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4008, allocations: 0 / 0.5724 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.4009, allocations: 67.91 kB / 0.5725 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.4009, allocations: 4 kB / 0.5725 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.401, allocations: 20 kB / 0.5725 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.401, allocations: 8.25 kB / 0.5725 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.401, allocations: 19.86 kB / 0.5725 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.402, allocations: 0.8123 MB / 0.5733 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.4022, allocations: 107.4 kB / 0.5734 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.402e-05/0.4023, allocations: 16 kB / 0.5735 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.4025, allocations: 19.98 kB / 0.5735 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.4026, allocations: 43.88 kB / 0.5735 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.562e-05/0.4027, allocations: 23.98 kB / 0.5735 GB, free: 6.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006611/0.4033, allocations: 0.6044 MB / 0.5741 GB, free: 6.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4033, allocations: 0 / 0.5741 GB, free: 6.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005247/0.4039, allocations: 83.94 kB / 0.5742 GB, free: 6.266 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * 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.003386/0.4073, allocations: 1.837 MB / 0.576 GB, free: 4.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006857/0.4079, allocations: 314.7 kB / 0.5763 GB, free: 4.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4079, allocations: 0 / 0.5763 GB, free: 4.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.4083, allocations: 163.6 kB / 0.5765 GB, free: 4.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009551/0.4092, allocations: 139.4 kB / 0.5766 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006202/0.4154, allocations: 4.801 MB / 0.5813 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.4158, allocations: 289 kB / 0.5816 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.4161, allocations: 83.25 kB / 0.5816 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.4163, allocations: 192.1 kB / 0.5818 GB, free: 14.46 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4163, allocations: 0 / 0.5818 GB, free: 14.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03435/0.4507, allocations: 11.74 MB / 0.5933 GB, free: 2.859 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.64, allocations: 4 kB / 0.5933 GB, free: 2.855 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.813721009995788] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 12.882558276993223 12.89829896 12.509890961 Calling exit ...