Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.002086/0.002086, allocations: 122.2 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.002892/0.002892, allocations: 211.8 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.822/1.822, allocations: 207.6 MB / 231.2 MB, free: 4.141 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.4487/0.4487, allocations: 44.24 MB / 327.3 MB, free: 6.684 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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",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.002621/0.002621, allocations: 79.89 kB / 463 MB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3524, allocations: 61 MB / 0.5117 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002975/0.3554, allocations: 1.701 MB / 0.5134 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3567, allocations: 0.8168 MB / 0.5142 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/0.3568, allocations: 3.938 kB / 0.5142 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.3571, allocations: 35.09 kB / 0.5142 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.3573, allocations: 68.42 kB / 0.5143 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.3576, allocations: 82.53 kB / 0.5144 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.3577, allocations: 97.36 kB / 0.5144 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3578, allocations: 7.844 kB / 0.5145 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.413e-05/0.3579, allocations: 49.12 kB / 0.5145 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/0.358, allocations: 34.72 kB / 0.5145 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.358, allocations: 3.781 kB / 0.5145 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.121e-05/0.3581, allocations: 41.86 kB / 0.5146 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.3582, allocations: 22.45 kB / 0.5146 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/0.3582, allocations: 27.47 kB / 0.5146 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.3584, allocations: 114.8 kB / 0.5147 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3584, allocations: 0 / 0.5147 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3584, allocations: 0 / 0.5147 GB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.3585, allocations: 1.375 kB / 0.5147 GB, free: 10.94 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.0005264/0.359, allocations: 418.2 kB / 0.5151 GB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.359, allocations: 18.8 kB / 0.5151 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.33e-05/0.359, allocations: 192 / 0.5151 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.231e-05/0.3591, allocations: 32.12 kB / 0.5152 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.3591, allocations: 12.91 kB / 0.5152 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.3594, allocations: 219.8 kB / 0.5154 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.3594, allocations: 5.438 kB / 0.5154 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3594, allocations: 3.094 kB / 0.5154 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3596, allocations: 57.52 kB / 0.5155 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3596, allocations: 0 / 0.5155 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3596, allocations: 4.953 kB / 0.5155 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.3596, allocations: 5.094 kB / 0.5155 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.969e-05/0.3597, allocations: 17.75 kB / 0.5155 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.36, allocations: 286.6 kB / 0.5158 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.3602, allocations: 55.84 kB / 0.5158 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.3603, allocations: 20.75 kB / 0.5158 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3603, allocations: 1.031 kB / 0.5158 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.3604, allocations: 77.22 kB / 0.5159 GB, free: 9.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3604, allocations: 0 / 0.5159 GB, free: 9.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00058/0.361, allocations: 177.9 kB / 0.5161 GB, free: 9.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.3611, allocations: 56.38 kB / 0.5161 GB, free: 9.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3612, allocations: 186.8 kB / 0.5163 GB, free: 9.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3613, allocations: 30.78 kB / 0.5163 GB, free: 9.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.3613, allocations: 96.36 kB / 0.5164 GB, free: 9.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.3613, allocations: 23.72 kB / 0.5165 GB, free: 9.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.3614, allocations: 24.84 kB / 0.5165 GB, free: 9.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.408e-05/0.3614, allocations: 322.4 kB / 0.5168 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-05/0.3615, allocations: 30.58 kB / 0.5168 GB, free: 8.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.3616, allocations: 36.11 kB / 0.5169 GB, free: 8.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3617, allocations: 54.66 kB / 0.5169 GB, free: 8.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3617, allocations: 3.984 kB / 0.5169 GB, free: 8.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001734/0.3618, allocations: 103.1 kB / 0.517 GB, free: 8.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3619, allocations: 9.094 kB / 0.517 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3619, allocations: 5.312 kB / 0.517 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.3619, allocations: 1.344 kB / 0.517 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.362, allocations: 16.61 kB / 0.517 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.362, allocations: 5.656 kB / 0.517 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.362, allocations: 1.438 kB / 0.517 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3621, allocations: 2.375 kB / 0.517 GB, free: 8.738 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 8.957e-05/0.3621, allocations: 127.1 kB / 0.5172 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.3622, allocations: 9.234 kB / 0.5172 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.3622, allocations: 13.66 kB / 0.5172 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3622, allocations: 4.844 kB / 0.5172 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3622, allocations: 5.719 kB / 0.5172 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3622, allocations: 3.984 kB / 0.5172 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.3626, allocations: 396.2 kB / 0.5176 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3626, allocations: 1.25 kB / 0.5176 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.39e-05/0.3627, allocations: 12.38 kB / 0.5176 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3627, allocations: 3.938 kB / 0.5176 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3627, allocations: 6.688 kB / 0.5176 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3627, allocations: 4.406 kB / 0.5176 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3627, allocations: 1.25 kB / 0.5176 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.3629, allocations: 200.2 kB / 0.5178 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.3629, allocations: 95.69 kB / 0.5179 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.363, allocations: 5.375 kB / 0.5179 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.363, allocations: 2.75 kB / 0.5179 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.3631, allocations: 14.73 kB / 0.5179 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3631, allocations: 8.109 kB / 0.5179 GB, free: 7.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.3632, allocations: 145.1 kB / 0.5181 GB, free: 7.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3632, allocations: 0 / 0.5181 GB, free: 7.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3635, allocations: 28.42 kB / 0.5181 GB, free: 7.766 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.002051/0.3655, allocations: 1.088 MB / 0.5192 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.3657, allocations: 59.53 kB / 0.5192 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3657, allocations: 4.062 kB / 0.5192 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.3658, allocations: 32.56 kB / 0.5192 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.3661, allocations: 28.27 kB / 0.5193 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.3676, allocations: 1.625 MB / 0.5209 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.3677, allocations: 0.7118 MB / 0.5216 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.212e-05/0.3678, allocations: 16.88 kB / 0.5216 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.3678, allocations: 35.42 kB / 0.5216 GB, free: 4.363 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3678, allocations: 0 / 0.5216 GB, free: 4.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.388, allocations: 3.424 MB / 0.5249 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/8.73, allocations: 8 kB / 0.525 GB, free: 0.8555 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.190874585008714] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.919533691019751 8.932368854 8.571094752 Calling exit ...