Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.001917/0.001917, allocations: 120.3 kB / 17.84 MB, free: 5.203 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.002399/0.002399, allocations: 211.9 kB / 20.8 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 207.6 MB / 231.2 MB, free: 4.125 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4289/0.4289, allocations: 44.23 MB / 327.3 MB, free: 6.699 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002344/0.002344, allocations: 79.89 kB / 463 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3676, allocations: 61 MB / 0.5117 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00372/0.3713, allocations: 1.702 MB / 0.5134 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.373, allocations: 0.8109 MB / 0.5142 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3731, allocations: 3.938 kB / 0.5142 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00052/0.3736, allocations: 81.7 kB / 0.5142 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.3739, allocations: 85.83 kB / 0.5143 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.3742, allocations: 79.97 kB / 0.5144 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.3745, allocations: 108.7 kB / 0.5145 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3746, allocations: 12.61 kB / 0.5145 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.3748, allocations: 59.05 kB / 0.5146 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.375, allocations: 64.53 kB / 0.5146 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.375, allocations: 7.906 kB / 0.5146 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.3751, allocations: 47.25 kB / 0.5147 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/0.3752, allocations: 20.2 kB / 0.5147 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.115e-05/0.3753, allocations: 30.62 kB / 0.5147 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.3756, allocations: 117.9 kB / 0.5149 GB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.3756, allocations: 0 / 0.5149 GB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3756, allocations: 4 kB / 0.5149 GB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.3757, allocations: 2 kB / 0.5149 GB, free: 10.71 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007786/0.3764, allocations: 425.5 kB / 0.5153 GB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.864e-05/0.3765, allocations: 12.39 kB / 0.5153 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3e-05/0.3765, allocations: 1.719 kB / 0.5153 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.3766, allocations: 43.8 kB / 0.5153 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.3766, allocations: 14.22 kB / 0.5153 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.377, allocations: 207.7 kB / 0.5155 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.377, allocations: 13.41 kB / 0.5155 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.3771, allocations: 3 kB / 0.5155 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3773, allocations: 57.89 kB / 0.5156 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3773, allocations: 0 / 0.5156 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3773, allocations: 1.531 kB / 0.5156 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3773, allocations: 0 / 0.5156 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3774, allocations: 18.45 kB / 0.5156 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.3779, allocations: 287.5 kB / 0.5159 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.3781, allocations: 63.95 kB / 0.516 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.3782, allocations: 16.83 kB / 0.516 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.3782, allocations: 1.5 kB / 0.516 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.3784, allocations: 69.69 kB / 0.516 GB, free: 9.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.3784, allocations: 4 kB / 0.516 GB, free: 9.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006133/0.379, allocations: 181.4 kB / 0.5162 GB, free: 9.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.379, allocations: 53.62 kB / 0.5163 GB, free: 9.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.3792, allocations: 220.2 kB / 0.5165 GB, free: 9.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3793, allocations: 31.08 kB / 0.5165 GB, free: 9.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.3793, allocations: 101.6 kB / 0.5166 GB, free: 9.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.3794, allocations: 19.98 kB / 0.5166 GB, free: 9.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.3794, allocations: 28.58 kB / 0.5167 GB, free: 8.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.3795, allocations: 325.6 kB / 0.517 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.3796, allocations: 19 kB / 0.517 GB, free: 8.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.3796, allocations: 43.33 kB / 0.517 GB, free: 8.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.3798, allocations: 59.77 kB / 0.5171 GB, free: 8.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3798, allocations: 0 / 0.5171 GB, free: 8.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002052/0.38, allocations: 108.2 kB / 0.5172 GB, free: 8.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.38, allocations: 9.484 kB / 0.5172 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.38, allocations: 0 / 0.5172 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.38, allocations: 1.375 kB / 0.5172 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3801, allocations: 14.12 kB / 0.5172 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.3801, allocations: 3.938 kB / 0.5172 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.3802, allocations: 2.75 kB / 0.5172 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.3802, allocations: 10.73 kB / 0.5172 GB, free: 8.484 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001237/0.3803, allocations: 128.8 kB / 0.5173 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.3803, allocations: 13.48 kB / 0.5174 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.258e-05/0.3804, allocations: 18.89 kB / 0.5174 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.3804, allocations: 1.375 kB / 0.5174 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.3804, allocations: 3.938 kB / 0.5174 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3804, allocations: 1.375 kB / 0.5174 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.3808, allocations: 398.5 kB / 0.5178 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3808, allocations: 1.375 kB / 0.5178 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.3809, allocations: 10.86 kB / 0.5178 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3809, allocations: 9.344 kB / 0.5178 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3809, allocations: 5.375 kB / 0.5178 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3809, allocations: 1.375 kB / 0.5178 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3809, allocations: 1.375 kB / 0.5178 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.3811, allocations: 200.5 kB / 0.518 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.3811, allocations: 91.7 kB / 0.5181 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.3812, allocations: 9.359 kB / 0.5181 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.3812, allocations: 6.719 kB / 0.5181 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3813, allocations: 4 kB / 0.5181 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.3813, allocations: 6.641 kB / 0.5181 GB, free: 7.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.3815, allocations: 159.5 kB / 0.5182 GB, free: 7.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3815, allocations: 1.312 kB / 0.5182 GB, free: 7.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.3817, allocations: 19.88 kB / 0.5183 GB, free: 7.52 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002216/0.3839, allocations: 1.111 MB / 0.5194 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.3842, allocations: 52.89 kB / 0.5194 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3842, allocations: 0 / 0.5194 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.214e-05/0.3843, allocations: 30.95 kB / 0.5194 GB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.3847, allocations: 26.14 kB / 0.5195 GB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.3865, allocations: 1.694 MB / 0.5211 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.3867, allocations: 0.708 MB / 0.5218 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.464e-05/0.3868, allocations: 20.78 kB / 0.5218 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.3868, allocations: 39.36 kB / 0.5219 GB, free: 4.074 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3868, allocations: 0 / 0.5219 GB, free: 4.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.4053, allocations: 3.542 MB / 0.5253 GB, free: 480 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.514/8.92, allocations: 6.828 kB / 0.5253 GB, free: 476 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.225215813959949] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.100453655002639 9.11517373 8.736446021 Calling exit ...