Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.001288/0.001288, allocations: 109 kB / 20.48 MB, free: 1.477 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.001416/0.001416, allocations: 209 kB / 23.79 MB, free: 4.688 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.405/1.405, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.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.2258/0.2258, allocations: 44.24 MB / 331.1 MB, free: 9.508 MB / 270.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.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",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.002231/0.002231, allocations: 67.91 kB / 468.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1142, allocations: 61.04 MB / 0.517 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003268/0.1175, allocations: 1.673 MB / 0.5186 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1189, allocations: 0.8128 MB / 0.5194 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.119, allocations: 4 kB / 0.5194 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.1193, allocations: 59.78 kB / 0.5195 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.1195, allocations: 71.67 kB / 0.5195 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.1198, allocations: 83.77 kB / 0.5196 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.12, allocations: 103.7 kB / 0.5197 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.12, allocations: 8.25 kB / 0.5197 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1201, allocations: 47.78 kB / 0.5198 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.1202, allocations: 51.77 kB / 0.5198 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1203, allocations: 4 kB / 0.5198 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.1203, allocations: 31.98 kB / 0.5198 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.1204, allocations: 19.92 kB / 0.5199 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.1205, allocations: 31.8 kB / 0.5199 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1206, allocations: 99.53 kB / 0.52 GB, free: 4.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1207, allocations: 0 / 0.52 GB, free: 4.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1207, allocations: 0 / 0.52 GB, free: 4.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1207, allocations: 0 / 0.52 GB, free: 4.152 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005253/0.1212, allocations: 333.7 kB / 0.5203 GB, free: 3.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1212, allocations: 12.03 kB / 0.5203 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.672e-05/0.1212, allocations: 4.125 kB / 0.5203 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.1213, allocations: 38.73 kB / 0.5204 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1213, allocations: 12.84 kB / 0.5204 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1216, allocations: 146.3 kB / 0.5205 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1216, allocations: 8.125 kB / 0.5205 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1216, allocations: 0 / 0.5205 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1218, allocations: 45.67 kB / 0.5206 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1218, allocations: 0 / 0.5206 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1218, allocations: 8 kB / 0.5206 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1218, allocations: 3.938 kB / 0.5206 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.774e-05/0.1218, allocations: 19.92 kB / 0.5206 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.122, allocations: 148.8 kB / 0.5207 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.1222, allocations: 54.55 kB / 0.5208 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.1222, allocations: 16.86 kB / 0.5208 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.1223, allocations: 4 kB / 0.5208 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.1224, allocations: 63.39 kB / 0.5209 GB, free: 3.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1224, allocations: 3.938 kB / 0.5209 GB, free: 3.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002788/0.1227, allocations: 97.61 kB / 0.521 GB, free: 3.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.1227, allocations: 51.41 kB / 0.521 GB, free: 2.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1229, allocations: 190.1 kB / 0.5212 GB, free: 2.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.123, allocations: 29.7 kB / 0.5212 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.123, allocations: 100.1 kB / 0.5213 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.123, allocations: 11.95 kB / 0.5213 GB, free: 2.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.1231, allocations: 21.7 kB / 0.5213 GB, free: 2.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1232, allocations: 322.8 kB / 0.5217 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.842e-05/0.1233, allocations: 15.98 kB / 0.5217 GB, free: 2.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.345e-05/0.1234, allocations: 29.7 kB / 0.5217 GB, free: 2.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1235, allocations: 57.83 kB / 0.5218 GB, free: 2.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1235, allocations: 0 / 0.5218 GB, free: 2.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001612/0.1236, allocations: 81.53 kB / 0.5218 GB, free: 2.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1236, allocations: 8 kB / 0.5218 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1237, allocations: 0 / 0.5218 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1237, allocations: 0 / 0.5218 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.1237, allocations: 8 kB / 0.5218 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1237, allocations: 11.92 kB / 0.5219 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.1238, allocations: 11.97 kB / 0.5219 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1238, allocations: 4 kB / 0.5219 GB, free: 2.012 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0001049/0.1239, allocations: 121.8 kB / 0.522 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.1239, allocations: 11.94 kB / 0.522 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.1241, allocations: 90.02 kB / 0.5221 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1241, allocations: 0 / 0.5221 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1241, allocations: 0 / 0.5221 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1241, allocations: 0 / 0.5221 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.1243, allocations: 160.6 kB / 0.5222 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1243, allocations: 4 kB / 0.5222 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.1243, allocations: 4 kB / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1243, allocations: 3.984 kB / 0.5223 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1243, allocations: 4 kB / 0.5223 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1243, allocations: 0 / 0.5223 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1243, allocations: 160 / 0.5223 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.1245, allocations: 121 kB / 0.5224 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.1245, allocations: 11.89 kB / 0.5224 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.1246, allocations: 4 kB / 0.5224 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.1246, allocations: 0 / 0.5224 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.1246, allocations: 7.984 kB / 0.5224 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1246, allocations: 4 kB / 0.5224 GB, free: 1.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1248, allocations: 139.2 kB / 0.5225 GB, free: 1.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1248, allocations: 0 / 0.5225 GB, free: 1.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.125, allocations: 15.98 kB / 0.5225 GB, free: 1.242 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001913/0.1269, allocations: 0.9535 MB / 0.5235 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.127, allocations: 43.92 kB / 0.5235 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.127, allocations: 0 / 0.5235 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.98e-05/0.1271, allocations: 15.98 kB / 0.5235 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.1274, allocations: 19.98 kB / 0.5236 GB, free: 240 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.1291, allocations: 1.492 MB / 0.525 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1294, allocations: 0.7002 MB / 0.5257 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.253e-05/0.1295, allocations: 12.48 kB / 0.5257 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.1295, allocations: 27.42 kB / 0.5257 GB, free: 13.88 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1295, allocations: 4 kB / 0.5257 GB, free: 13.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.1523, allocations: 3.263 MB / 0.5289 GB, free: 10.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.72, allocations: 15.94 kB / 0.5289 GB, free: 10.52 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.83911890303716] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.938351318007335 12.160339549 12.036727271 Calling exit ...