Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.001809/0.001809, 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.002421/0.002421, allocations: 207.9 kB / 23.78 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.723/1.723, allocations: 207.6 MB / 234.6 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.2449/0.2449, allocations: 44.24 MB / 331.1 MB, free: 9.602 MB / 270.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",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: 71.89 kB / 468.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1369, allocations: 61.05 MB / 0.517 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003194/0.1401, allocations: 1.709 MB / 0.5186 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1416, allocations: 0.8323 MB / 0.5195 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.416e-05/0.1416, allocations: 0 / 0.5195 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.1419, allocations: 43.77 kB / 0.5195 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1421, allocations: 47.77 kB / 0.5195 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.1424, allocations: 91.75 kB / 0.5196 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1426, allocations: 99.62 kB / 0.5197 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.1427, allocations: 12.2 kB / 0.5197 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.63e-05/0.1428, allocations: 43.8 kB / 0.5198 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.33e-05/0.1429, allocations: 35.84 kB / 0.5198 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1429, allocations: 4 kB / 0.5198 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.143, allocations: 43.97 kB / 0.5199 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.143, allocations: 11.94 kB / 0.5199 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.1431, allocations: 39.67 kB / 0.5199 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1433, allocations: 115.5 kB / 0.52 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1433, allocations: 0 / 0.52 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1433, allocations: 0 / 0.52 GB, free: 4.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1433, allocations: 0 / 0.52 GB, free: 4.156 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005278/0.1438, allocations: 333.7 kB / 0.5203 GB, free: 3.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1439, allocations: 8.031 kB / 0.5203 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.174e-05/0.1439, allocations: 4.188 kB / 0.5203 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.1439, allocations: 42.72 kB / 0.5204 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.144, allocations: 8.891 kB / 0.5204 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1442, allocations: 150.3 kB / 0.5205 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1443, allocations: 4.125 kB / 0.5205 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.1443, allocations: 8 kB / 0.5206 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1444, allocations: 49.67 kB / 0.5206 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1445, allocations: 7.953 kB / 0.5206 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1445, allocations: 4 kB / 0.5206 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1445, allocations: 0 / 0.5206 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.512e-05/0.1445, allocations: 19.98 kB / 0.5206 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.1449, allocations: 255.9 kB / 0.5209 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1451, allocations: 50.62 kB / 0.5209 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.1452, allocations: 24.84 kB / 0.5209 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1452, allocations: 4 kB / 0.521 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.1453, allocations: 63.39 kB / 0.521 GB, free: 3.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1453, allocations: 0 / 0.521 GB, free: 3.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005354/0.1459, allocations: 173.6 kB / 0.5212 GB, free: 2.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1459, allocations: 59.41 kB / 0.5212 GB, free: 2.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1461, allocations: 174.2 kB / 0.5214 GB, free: 2.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1461, allocations: 29.64 kB / 0.5214 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.1462, allocations: 104.1 kB / 0.5215 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.1462, allocations: 23.84 kB / 0.5216 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.1463, allocations: 21.72 kB / 0.5216 GB, free: 2.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1464, allocations: 322.8 kB / 0.5219 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.333e-05/0.1465, allocations: 19.98 kB / 0.5219 GB, free: 2.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.1465, allocations: 41.7 kB / 0.5219 GB, free: 1.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.1467, allocations: 57.84 kB / 0.522 GB, free: 1.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1467, allocations: 0 / 0.522 GB, free: 1.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001949/0.1469, allocations: 109.5 kB / 0.5221 GB, free: 1.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1469, allocations: 4.188 kB / 0.5221 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1469, allocations: 0 / 0.5221 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1469, allocations: 3.938 kB / 0.5221 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.147, allocations: 27.95 kB / 0.5221 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.147, allocations: 3.938 kB / 0.5221 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.147, allocations: 0 / 0.5221 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.147, allocations: 8 kB / 0.5221 GB, free: 1.773 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 (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.00014/0.1472, allocations: 117.8 kB / 0.5223 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.1472, allocations: 11.94 kB / 0.5223 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.1475, allocations: 114.3 kB / 0.5224 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1475, allocations: 7.938 kB / 0.5224 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1475, allocations: 7.938 kB / 0.5224 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1475, allocations: 3.984 kB / 0.5224 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.1479, allocations: 350.4 kB / 0.5227 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1479, allocations: 3.938 kB / 0.5227 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.148, allocations: 11.98 kB / 0.5227 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.148, allocations: 7.938 kB / 0.5228 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.148, allocations: 7.938 kB / 0.5228 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.148, allocations: 0 / 0.5228 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.148, allocations: 4.031 kB / 0.5228 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1482, allocations: 192.3 kB / 0.5229 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.1483, allocations: 15.89 kB / 0.523 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1483, allocations: 7.984 kB / 0.523 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.1484, allocations: 0 / 0.523 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.1484, allocations: 15.91 kB / 0.523 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1484, allocations: 8 kB / 0.523 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1486, allocations: 135.9 kB / 0.5231 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1486, allocations: 0 / 0.5231 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1488, allocations: 20 kB / 0.5231 GB, free: 0.6602 MB / 398.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.002247/0.1511, allocations: 1.097 MB / 0.5242 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.1513, allocations: 67.83 kB / 0.5243 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1513, allocations: 0 / 0.5243 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.45e-05/0.1513, allocations: 28 kB / 0.5243 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.1517, allocations: 31.97 kB / 0.5243 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.1537, allocations: 1.597 MB / 0.5259 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1541, allocations: 0.7079 MB / 0.5266 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.047e-05/0.1542, allocations: 13.28 kB / 0.5266 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.1542, allocations: 35.42 kB / 0.5266 GB, free: 12.98 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1542, allocations: 0 / 0.5266 GB, free: 12.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.1784, allocations: 3.51 MB / 0.5301 GB, free: 9.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.29, allocations: 9 kB / 0.5301 GB, free: 9.371 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.96043319196906] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.506217676971573 11.774862205 11.628113325 Calling exit ...