Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.001321/0.001321, allocations: 118.9 kB / 17.83 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.00219/0.00219, allocations: 210.3 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.524/1.524, allocations: 207.6 MB / 231.2 MB, free: 4.094 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.3363/0.3363, allocations: 44.23 MB / 327.3 MB, free: 6.684 MB / 254.1 MB " [Timeout remaining time 180] 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.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",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.002183/0.002183, allocations: 75.89 kB / 463 MB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3191, allocations: 60.99 MB / 0.5117 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002817/0.322, allocations: 1.717 MB / 0.5134 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3231, allocations: 0.8163 MB / 0.5142 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.3232, allocations: 3.938 kB / 0.5142 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.3235, allocations: 50.84 kB / 0.5142 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.3237, allocations: 63.75 kB / 0.5143 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.3239, allocations: 77.41 kB / 0.5144 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.3241, allocations: 102.4 kB / 0.5145 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3243, allocations: 8.031 kB / 0.5145 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3244, allocations: 43.72 kB / 0.5145 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/0.3245, allocations: 37.66 kB / 0.5145 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3245, allocations: 7.969 kB / 0.5146 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3246, allocations: 38.64 kB / 0.5146 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.3247, allocations: 21.67 kB / 0.5146 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.3247, allocations: 35.05 kB / 0.5146 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.325, allocations: 127 kB / 0.5148 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.325, allocations: 4 kB / 0.5148 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.325, allocations: 0 / 0.5148 GB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.325, allocations: 4 kB / 0.5148 GB, free: 10.87 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.0005358/0.3255, allocations: 427.5 kB / 0.5152 GB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3256, allocations: 14.7 kB / 0.5152 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.295e-05/0.3256, allocations: 192 / 0.5152 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.078e-05/0.3256, allocations: 34.06 kB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.3256, allocations: 12.22 kB / 0.5152 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.3259, allocations: 214.3 kB / 0.5154 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3259, allocations: 8.125 kB / 0.5155 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.3259, allocations: 1.625 kB / 0.5155 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3261, allocations: 53.83 kB / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3261, allocations: 1.375 kB / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3261, allocations: 0 / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3261, allocations: 5.359 kB / 0.5155 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/0.3262, allocations: 21.55 kB / 0.5155 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.3265, allocations: 301.5 kB / 0.5158 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3267, allocations: 55.12 kB / 0.5159 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.3267, allocations: 21.09 kB / 0.5159 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.3268, allocations: 1.375 kB / 0.5159 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.3269, allocations: 69.08 kB / 0.516 GB, free: 9.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3269, allocations: 0 / 0.516 GB, free: 9.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005606/0.3275, allocations: 182.3 kB / 0.5161 GB, free: 9.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.3275, allocations: 52.78 kB / 0.5162 GB, free: 9.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3277, allocations: 232.7 kB / 0.5164 GB, free: 9.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.3277, allocations: 29.7 kB / 0.5164 GB, free: 9.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.3278, allocations: 106.2 kB / 0.5165 GB, free: 9.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.3278, allocations: 23.7 kB / 0.5166 GB, free: 9.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.3278, allocations: 24.48 kB / 0.5166 GB, free: 9.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.819e-05/0.3279, allocations: 330.9 kB / 0.5169 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.3279, allocations: 14.69 kB / 0.5169 GB, free: 8.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.328, allocations: 35.55 kB / 0.5169 GB, free: 8.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.3281, allocations: 68 kB / 0.517 GB, free: 8.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3281, allocations: 384 / 0.517 GB, free: 8.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001773/0.3283, allocations: 107.5 kB / 0.5171 GB, free: 8.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3283, allocations: 9.562 kB / 0.5171 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/0.3283, allocations: 1.094 kB / 0.5171 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3283, allocations: 1.094 kB / 0.5171 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.3284, allocations: 16.19 kB / 0.5171 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3284, allocations: 5.125 kB / 0.5171 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.3285, allocations: 6.172 kB / 0.5172 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3285, allocations: 3.406 kB / 0.5172 GB, free: 8.629 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 9.643e-05/0.3286, allocations: 125.8 kB / 0.5173 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.3286, allocations: 13.59 kB / 0.5173 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.3287, allocations: 20.28 kB / 0.5173 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3287, allocations: 1.375 kB / 0.5173 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3287, allocations: 3.938 kB / 0.5173 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3287, allocations: 0 / 0.5173 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.329, allocations: 401.4 kB / 0.5177 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.329, allocations: 0 / 0.5177 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.3291, allocations: 11.97 kB / 0.5177 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3291, allocations: 3.938 kB / 0.5177 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3291, allocations: 14.44 kB / 0.5177 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3291, allocations: 0 / 0.5177 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3291, allocations: 1.094 kB / 0.5177 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.3293, allocations: 205.5 kB / 0.5179 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.3293, allocations: 87.72 kB / 0.518 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.3293, allocations: 5.969 kB / 0.518 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.3294, allocations: 5.844 kB / 0.518 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.3294, allocations: 8.484 kB / 0.518 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3295, allocations: 6.344 kB / 0.518 GB, free: 7.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.3296, allocations: 170.5 kB / 0.5182 GB, free: 7.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3296, allocations: 0 / 0.5182 GB, free: 7.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.3299, allocations: 28.86 kB / 0.5182 GB, free: 7.652 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.002012/0.3319, allocations: 1.093 MB / 0.5193 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.3321, allocations: 68.83 kB / 0.5194 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3321, allocations: 0 / 0.5194 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.821e-05/0.3321, allocations: 27.05 kB / 0.5194 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3325, allocations: 29.67 kB / 0.5194 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.334, allocations: 1.727 MB / 0.5211 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.3341, allocations: 0.7119 MB / 0.5218 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.849e-05/0.3342, allocations: 21.16 kB / 0.5218 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.3342, allocations: 35.42 kB / 0.5218 GB, free: 4.109 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3342, allocations: 0 / 0.5218 GB, free: 4.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.3539, allocations: 3.593 MB / 0.5254 GB, free: 464 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.703/9.057, allocations: 18.41 kB / 0.5254 GB, free: 448 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.00675402203342] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.241980575025082 9.266043717 8.936567798 Calling exit ...