Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.00169/0.00169, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001409/0.001409, allocations: 211.2 kB / 23.77 MB, free: 4.555 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.415/1.415, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2166/0.2166, allocations: 44.27 MB / 331.1 MB, free: 9.32 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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.002171/0.002171, allocations: 71.91 kB / 468.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1333, allocations: 61.04 MB / 0.517 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004596/0.1379, allocations: 1.698 MB / 0.5186 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1395, allocations: 0.7855 MB / 0.5194 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.1396, allocations: 4 kB / 0.5194 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.1402, allocations: 107.7 kB / 0.5195 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.1406, allocations: 87.69 kB / 0.5196 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.141, allocations: 95.7 kB / 0.5197 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.1413, allocations: 123.7 kB / 0.5198 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1415, allocations: 15.92 kB / 0.5198 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1416, allocations: 55.81 kB / 0.5199 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1417, allocations: 75.73 kB / 0.5199 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.1417, allocations: 8 kB / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1419, allocations: 47.98 kB / 0.52 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.1419, allocations: 31.91 kB / 0.52 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.142, allocations: 35.67 kB / 0.5201 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.1423, allocations: 143.3 kB / 0.5202 GB, free: 3.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1423, allocations: 0 / 0.5202 GB, free: 3.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1423, allocations: 0 / 0.5202 GB, free: 3.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1423, allocations: 0 / 0.5202 GB, free: 3.816 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000667/0.143, allocations: 365.5 kB / 0.5205 GB, free: 3.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/0.143, allocations: 8.031 kB / 0.5205 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.379e-05/0.143, allocations: 4.188 kB / 0.5205 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.1431, allocations: 42.73 kB / 0.5206 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.1431, allocations: 16.84 kB / 0.5206 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.1435, allocations: 177.8 kB / 0.5208 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1435, allocations: 4.125 kB / 0.5208 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.1435, allocations: 4 kB / 0.5208 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1437, allocations: 69.66 kB / 0.5208 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1437, allocations: 0 / 0.5208 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1437, allocations: 0 / 0.5208 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1437, allocations: 0 / 0.5208 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1438, allocations: 43.89 kB / 0.5209 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.1443, allocations: 283.9 kB / 0.5212 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.1446, allocations: 78.75 kB / 0.5212 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.131e-05/0.1446, allocations: 24.84 kB / 0.5213 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.1447, allocations: 0 / 0.5213 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.1448, allocations: 83.31 kB / 0.5213 GB, free: 2.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.1448, allocations: 3.938 kB / 0.5213 GB, free: 2.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007382/0.1456, allocations: 245.2 kB / 0.5216 GB, free: 2.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.1456, allocations: 55.34 kB / 0.5216 GB, free: 2.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.1459, allocations: 258.5 kB / 0.5219 GB, free: 1.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.1459, allocations: 29.7 kB / 0.5219 GB, free: 1.879 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.146, allocations: 108.1 kB / 0.522 GB, free: 1.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.146, allocations: 47.67 kB / 0.5221 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.1461, allocations: 25.72 kB / 0.5221 GB, free: 1.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1463, allocations: 330.8 kB / 0.5224 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.1463, allocations: 31.98 kB / 0.5224 GB, free: 1.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.1464, allocations: 53.64 kB / 0.5225 GB, free: 1.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.1466, allocations: 77.7 kB / 0.5225 GB, free: 1.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1466, allocations: 4 kB / 0.5226 GB, free: 1.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002853/0.1469, allocations: 145.5 kB / 0.5227 GB, free: 1.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1469, allocations: 4 kB / 0.5227 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1469, allocations: 480 / 0.5227 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.1469, allocations: 11.97 kB / 0.5227 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1471, allocations: 23.94 kB / 0.5227 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1471, allocations: 0 / 0.5227 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.1471, allocations: 7.984 kB / 0.5227 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1471, allocations: 4 kB / 0.5227 GB, free: 0.9844 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 (13): * Single equations (assignments): 13 * 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.0001468/0.1473, allocations: 145.8 kB / 0.5229 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.1473, allocations: 11.91 kB / 0.5229 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.1476, allocations: 163 kB / 0.523 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1477, allocations: 3.938 kB / 0.5231 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1477, allocations: 0 / 0.5231 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1477, allocations: 3.984 kB / 0.5231 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006095/0.1483, allocations: 434.2 kB / 0.5235 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1483, allocations: 0 / 0.5235 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.1483, allocations: 23.92 kB / 0.5235 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1484, allocations: 4.031 kB / 0.5235 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1484, allocations: 8 kB / 0.5235 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1484, allocations: 0 / 0.5235 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1484, allocations: 0 / 0.5235 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.1487, allocations: 252.2 kB / 0.5237 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.1487, allocations: 11.91 kB / 0.5238 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.1488, allocations: 8 kB / 0.5238 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.1488, allocations: 3.984 kB / 0.5238 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.1489, allocations: 15.92 kB / 0.5238 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.1489, allocations: 4 kB / 0.5238 GB, free: 15.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.1491, allocations: 200 kB / 0.524 GB, free: 15.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1491, allocations: 3.938 kB / 0.524 GB, free: 15.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000277/0.1494, allocations: 35.92 kB / 0.524 GB, free: 15.59 MB / 414.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 (13): * Single equations (assignments): 11 * 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.002458/0.1518, allocations: 1.168 MB / 0.5252 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.1521, allocations: 79.95 kB / 0.5252 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1521, allocations: 0 / 0.5252 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1522, allocations: 51.86 kB / 0.5253 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1526, allocations: 27.73 kB / 0.5253 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.1549, allocations: 1.905 MB / 0.5272 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.155, allocations: 113.2 kB / 0.5273 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.466e-05/0.1551, allocations: 24.62 kB / 0.5273 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.988e-05/0.1552, allocations: 51.42 kB / 0.5273 GB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1552, allocations: 0 / 0.5273 GB, free: 12.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.1786, allocations: 4.37 MB / 0.5316 GB, free: 7.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/11.9, allocations: 7.922 kB / 0.5316 GB, free: 7.594 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.043524230015464] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y'] 12.115235482924618 12.286852847 12.141722762 Calling exit ...