Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.001317/0.001317, 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.001356/0.001356, 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.678/1.678, allocations: 207.6 MB / 231.2 MB, free: 4.133 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.4794/0.4794, allocations: 44.22 MB / 327.3 MB, free: 6.742 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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.003252/0.003252, allocations: 71.89 kB / 463 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4119, allocations: 61 MB / 0.5117 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003545/0.4154, allocations: 1.712 MB / 0.5134 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.4169, allocations: 0.8075 MB / 0.5142 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.676e-05/0.417, allocations: 5.969 kB / 0.5142 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.4174, allocations: 84.47 kB / 0.5143 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.4176, allocations: 77.14 kB / 0.5143 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.4179, allocations: 87.28 kB / 0.5144 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.4181, allocations: 106 kB / 0.5145 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.4182, allocations: 7.969 kB / 0.5145 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.4183, allocations: 54.23 kB / 0.5146 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.4184, allocations: 73.44 kB / 0.5146 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.4184, allocations: 8.094 kB / 0.5147 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.4186, allocations: 42.77 kB / 0.5147 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.4186, allocations: 24.19 kB / 0.5147 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.4187, allocations: 34.95 kB / 0.5147 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.4189, allocations: 114 kB / 0.5149 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4189, allocations: 0 / 0.5149 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4189, allocations: 0 / 0.5149 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.4189, allocations: 0 / 0.5149 GB, free: 10.82 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.0005243/0.4194, allocations: 434.5 kB / 0.5153 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4195, allocations: 13.52 kB / 0.5153 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.404e-05/0.4195, allocations: 4.188 kB / 0.5153 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.046e-05/0.4195, allocations: 32.25 kB / 0.5153 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.4195, allocations: 13.88 kB / 0.5153 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.4198, allocations: 208.3 kB / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.4198, allocations: 9.594 kB / 0.5155 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.4198, allocations: 2.906 kB / 0.5155 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.42, allocations: 61.83 kB / 0.5156 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.42, allocations: 0 / 0.5156 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.42, allocations: 1.531 kB / 0.5156 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.42, allocations: 0 / 0.5156 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.814e-05/0.4201, allocations: 18.14 kB / 0.5156 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.4205, allocations: 292.7 kB / 0.5159 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.4206, allocations: 59.19 kB / 0.516 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.4207, allocations: 21.56 kB / 0.516 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.4207, allocations: 0 / 0.516 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.4209, allocations: 66.39 kB / 0.516 GB, free: 9.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.4209, allocations: 0 / 0.516 GB, free: 9.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005873/0.4214, allocations: 178.9 kB / 0.5162 GB, free: 9.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.4215, allocations: 55.41 kB / 0.5163 GB, free: 9.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.4217, allocations: 217.7 kB / 0.5165 GB, free: 9.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.4217, allocations: 31.08 kB / 0.5165 GB, free: 9.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.4218, allocations: 101.6 kB / 0.5166 GB, free: 9.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.4218, allocations: 26.58 kB / 0.5166 GB, free: 9.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.4218, allocations: 24.59 kB / 0.5166 GB, free: 9.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.4219, allocations: 323 kB / 0.517 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.96e-05/0.422, allocations: 23.05 kB / 0.517 GB, free: 8.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.4221, allocations: 51.33 kB / 0.517 GB, free: 8.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.4222, allocations: 63.83 kB / 0.5171 GB, free: 8.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4222, allocations: 0 / 0.5171 GB, free: 8.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000187/0.4223, allocations: 104.2 kB / 0.5172 GB, free: 8.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4224, allocations: 4.125 kB / 0.5172 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4224, allocations: 1.375 kB / 0.5172 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.4224, allocations: 5.406 kB / 0.5172 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.4225, allocations: 16.36 kB / 0.5172 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4225, allocations: 5.312 kB / 0.5172 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.4226, allocations: 2.75 kB / 0.5172 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.4226, allocations: 2.75 kB / 0.5172 GB, free: 8.594 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.0001134/0.4227, allocations: 132.8 kB / 0.5173 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.4227, allocations: 13.44 kB / 0.5174 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.4228, allocations: 14.91 kB / 0.5174 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.4228, allocations: 5.359 kB / 0.5174 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4228, allocations: 7.938 kB / 0.5174 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4228, allocations: 1.375 kB / 0.5174 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.4232, allocations: 398.5 kB / 0.5178 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.4232, allocations: 1.375 kB / 0.5178 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.4233, allocations: 6.875 kB / 0.5178 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4233, allocations: 5.312 kB / 0.5178 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.4233, allocations: 9.359 kB / 0.5178 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.4233, allocations: 1.375 kB / 0.5178 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4233, allocations: 4.031 kB / 0.5178 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.4235, allocations: 193.7 kB / 0.518 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.4236, allocations: 91.7 kB / 0.5181 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.4236, allocations: 9.312 kB / 0.5181 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.4236, allocations: 6.734 kB / 0.5181 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.4237, allocations: 2.75 kB / 0.5181 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.4237, allocations: 8.125 kB / 0.5181 GB, free: 7.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.4239, allocations: 159.2 kB / 0.5182 GB, free: 7.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4239, allocations: 0 / 0.5182 GB, free: 7.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.4241, allocations: 24.58 kB / 0.5183 GB, free: 7.625 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.002185/0.4263, allocations: 1.115 MB / 0.5194 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.4265, allocations: 51.81 kB / 0.5194 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4265, allocations: 0 / 0.5194 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.92e-05/0.4266, allocations: 35.86 kB / 0.5194 GB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.427, allocations: 29.17 kB / 0.5195 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.4285, allocations: 1.696 MB / 0.5211 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.4286, allocations: 0.7119 MB / 0.5218 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.39e-05/0.4287, allocations: 12.5 kB / 0.5218 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.808e-05/0.4287, allocations: 39.36 kB / 0.5219 GB, free: 4.07 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4287, allocations: 0 / 0.5219 GB, free: 4.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.4463, allocations: 3.542 MB / 0.5253 GB, free: 476 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/8.797, allocations: 2.406 kB / 0.5253 GB, free: 476 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.138545740977861] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.976714962045662 8.990672926 8.568711252 Calling exit ...