Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.00257/0.00257, allocations: 119.6 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.002591/0.002591, 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.822/1.822, allocations: 207.6 MB / 231.2 MB, free: 4.129 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.4418/0.4418, allocations: 44.23 MB / 327.3 MB, free: 6.703 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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",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.002174/0.002174, allocations: 75.89 kB / 463 MB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3051, allocations: 61 MB / 0.5117 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002888/0.308, allocations: 1.709 MB / 0.5134 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.3091, allocations: 0.8077 MB / 0.5142 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.3092, allocations: 5.562 kB / 0.5142 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.3095, allocations: 41.05 kB / 0.5142 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.3097, allocations: 61.47 kB / 0.5143 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.3099, allocations: 83.02 kB / 0.5143 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.31, allocations: 96.16 kB / 0.5144 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.3101, allocations: 13.3 kB / 0.5145 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.056e-05/0.3102, allocations: 43.94 kB / 0.5145 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-05/0.3103, allocations: 33.8 kB / 0.5145 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3103, allocations: 8.312 kB / 0.5145 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-05/0.3104, allocations: 42.91 kB / 0.5146 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.3104, allocations: 21.83 kB / 0.5146 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.3105, allocations: 27.69 kB / 0.5146 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.3107, allocations: 115.3 kB / 0.5147 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3107, allocations: 0 / 0.5147 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3107, allocations: 4 kB / 0.5147 GB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.3107, allocations: 0 / 0.5147 GB, free: 10.88 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.0004987/0.3112, allocations: 419.3 kB / 0.5151 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3112, allocations: 14.61 kB / 0.5152 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.42e-05/0.3112, allocations: 192 / 0.5152 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.236e-05/0.3113, allocations: 32.53 kB / 0.5152 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.3113, allocations: 14.25 kB / 0.5152 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.3116, allocations: 214.6 kB / 0.5154 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3116, allocations: 9.5 kB / 0.5154 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3116, allocations: 1.656 kB / 0.5154 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3118, allocations: 59.12 kB / 0.5155 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3118, allocations: 3.938 kB / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3118, allocations: 0 / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3118, allocations: 2.062 kB / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.3119, allocations: 19.39 kB / 0.5155 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.3121, allocations: 280.6 kB / 0.5158 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.3123, allocations: 63.58 kB / 0.5158 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.3124, allocations: 21.09 kB / 0.5158 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3124, allocations: 1.375 kB / 0.5158 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.3125, allocations: 73.09 kB / 0.5159 GB, free: 9.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.3125, allocations: 4 kB / 0.5159 GB, free: 9.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005287/0.3131, allocations: 173 kB / 0.5161 GB, free: 9.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.3131, allocations: 52.78 kB / 0.5161 GB, free: 9.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.3132, allocations: 186.2 kB / 0.5163 GB, free: 9.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.3132, allocations: 31.06 kB / 0.5163 GB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.3133, allocations: 96.27 kB / 0.5164 GB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.3133, allocations: 27.95 kB / 0.5165 GB, free: 9.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.3133, allocations: 24.59 kB / 0.5165 GB, free: 9.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.3134, allocations: 330.9 kB / 0.5168 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.3135, allocations: 22.98 kB / 0.5168 GB, free: 8.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.3135, allocations: 43.33 kB / 0.5169 GB, free: 8.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.3136, allocations: 50.47 kB / 0.5169 GB, free: 8.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3136, allocations: 0 / 0.5169 GB, free: 8.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000172/0.3138, allocations: 111.1 kB / 0.517 GB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3138, allocations: 5.594 kB / 0.517 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3138, allocations: 0.8438 kB / 0.517 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3138, allocations: 1.062 kB / 0.517 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.543e-05/0.3139, allocations: 17.98 kB / 0.517 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3139, allocations: 3.938 kB / 0.517 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.314, allocations: 2.656 kB / 0.517 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.314, allocations: 2.906 kB / 0.517 GB, free: 8.684 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 7.744e-05/0.3141, allocations: 126.3 kB / 0.5172 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.3141, allocations: 17.39 kB / 0.5172 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.3141, allocations: 13.91 kB / 0.5172 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3141, allocations: 1.594 kB / 0.5172 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3141, allocations: 3.938 kB / 0.5172 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3141, allocations: 0 / 0.5172 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.3145, allocations: 405.7 kB / 0.5176 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3145, allocations: 0 / 0.5176 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.3145, allocations: 8.375 kB / 0.5176 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3146, allocations: 9.25 kB / 0.5176 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3146, allocations: 1.344 kB / 0.5176 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3146, allocations: 1.344 kB / 0.5176 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3146, allocations: 0 / 0.5176 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.3148, allocations: 200.8 kB / 0.5178 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.3148, allocations: 96.5 kB / 0.5179 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.3148, allocations: 1.156 kB / 0.5179 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.3149, allocations: 14.28 kB / 0.5179 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.3149, allocations: 11.77 kB / 0.5179 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3149, allocations: 2.906 kB / 0.5179 GB, free: 7.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.145e-05/0.315, allocations: 141.2 kB / 0.5181 GB, free: 7.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.315, allocations: 3.938 kB / 0.5181 GB, free: 7.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.3153, allocations: 25.3 kB / 0.5181 GB, free: 7.715 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.001845/0.3172, allocations: 1.097 MB / 0.5192 GB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.3173, allocations: 63.81 kB / 0.5192 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3174, allocations: 0 / 0.5192 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.902e-05/0.3174, allocations: 28.27 kB / 0.5192 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3178, allocations: 28.58 kB / 0.5193 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.3192, allocations: 1.64 MB / 0.5209 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.3193, allocations: 0.704 MB / 0.5216 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.009e-05/0.3194, allocations: 12.88 kB / 0.5216 GB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.3195, allocations: 35.42 kB / 0.5216 GB, free: 4.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3195, allocations: 0 / 0.5216 GB, free: 4.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.337, allocations: 3.42 MB / 0.5249 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.323/8.66, allocations: 8 kB / 0.525 GB, free: 0.8359 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.12088965298608] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.839361256978009 8.855329132 8.540836115 Calling exit ...