Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001398/0.001398, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2663/0.2663, allocations: 46.89 MB / 357.4 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 91.84 kB / 0.4913 GB, free: 8.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1486, allocations: 65.98 MB / 0.5557 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003186/0.1518, allocations: 1.698 MB / 0.5574 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1536, allocations: 1.01 MB / 0.5584 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.1537, allocations: 0 / 0.5584 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.154, allocations: 63.72 kB / 0.5584 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.1544, allocations: 115.5 kB / 0.5585 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.1546, allocations: 71.67 kB / 0.5586 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.1548, allocations: 99.75 kB / 0.5587 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.1549, allocations: 8.219 kB / 0.5587 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.155, allocations: 51.77 kB / 0.5588 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1551, allocations: 51.7 kB / 0.5588 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1551, allocations: 4 kB / 0.5588 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.366e-05/0.1552, allocations: 35.98 kB / 0.5589 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.1552, allocations: 19.92 kB / 0.5589 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.1553, allocations: 27.81 kB / 0.5589 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.1555, allocations: 107.6 kB / 0.559 GB, free: 2.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1555, allocations: 7.875 kB / 0.559 GB, free: 2.949 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1555, allocations: 0 / 0.559 GB, free: 2.949 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1555, allocations: 0 / 0.559 GB, free: 2.949 MB / 414.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.000595/0.1561, allocations: 422.7 kB / 0.5594 GB, free: 2.488 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1562, allocations: 8.031 kB / 0.5594 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.1562, allocations: 30.75 kB / 0.5594 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.1562, allocations: 12.84 kB / 0.5595 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.1565, allocations: 208.9 kB / 0.5597 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1566, allocations: 8.375 kB / 0.5597 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.1566, allocations: 384 / 0.5597 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1567, allocations: 53.8 kB / 0.5597 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1567, allocations: 0 / 0.5597 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.1567, allocations: 4 kB / 0.5597 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1567, allocations: 0 / 0.5597 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.1568, allocations: 19.92 kB / 0.5597 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.157, allocations: 181.6 kB / 0.5599 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1572, allocations: 50.62 kB / 0.56 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.1572, allocations: 20.84 kB / 0.56 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1573, allocations: 0 / 0.56 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.1574, allocations: 75.27 kB / 0.5601 GB, free: 1.703 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1574, allocations: 0 / 0.5601 GB, free: 1.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002856/0.1577, allocations: 97.62 kB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.1577, allocations: 55.34 kB / 0.5602 GB, free: 1.535 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.158, allocations: 194.4 kB / 0.5604 GB, free: 1.336 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.158, allocations: 25.7 kB / 0.5604 GB, free: 1.305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.158, allocations: 104.1 kB / 0.5605 GB, free: 1.199 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.1581, allocations: 15.89 kB / 0.5605 GB, free: 1.184 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.1581, allocations: 17.72 kB / 0.5605 GB, free: 1.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1583, allocations: 326.8 kB / 0.5609 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.1583, allocations: 16 kB / 0.5609 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/0.1584, allocations: 25.7 kB / 0.5609 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1585, allocations: 49.64 kB / 0.5609 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1585, allocations: 0 / 0.5609 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001697/0.1586, allocations: 85.47 kB / 0.561 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1587, allocations: 4 kB / 0.561 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1587, allocations: 8.031 kB / 0.561 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1587, allocations: 0 / 0.561 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.934e-05/0.1588, allocations: 11.98 kB / 0.561 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1588, allocations: 0 / 0.561 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.1588, allocations: 4 kB / 0.561 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1588, allocations: 0 / 0.561 GB, free: 0.6133 MB / 414.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.0001265/0.1589, allocations: 133.8 kB / 0.5612 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.159, allocations: 15.83 kB / 0.5612 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.159, allocations: 16.98 kB / 0.5612 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.159, allocations: 4 kB / 0.5612 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.159, allocations: 0 / 0.5612 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.159, allocations: 0 / 0.5612 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.1592, allocations: 193.6 kB / 0.5614 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.1592, allocations: 4.25 kB / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.1592, allocations: 7.938 kB / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1592, allocations: 4 kB / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1593, allocations: 4 kB / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1593, allocations: 0 / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1593, allocations: 3.984 kB / 0.5614 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.1595, allocations: 105.1 kB / 0.5615 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.1595, allocations: 92.98 kB / 0.5616 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.1596, allocations: 0 / 0.5616 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.8e-05/0.1596, allocations: 4 kB / 0.5616 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1596, allocations: 3.938 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.1597, allocations: 7.984 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.1598, allocations: 144.2 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1598, allocations: 4 kB / 0.5618 GB, free: 15.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.16, allocations: 19.98 kB / 0.5618 GB, free: 15.76 MB / 430.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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.002058/0.1621, allocations: 0.9468 MB / 0.5627 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.1623, allocations: 35.92 kB / 0.5627 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1623, allocations: 4.062 kB / 0.5627 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.161e-05/0.1623, allocations: 16 kB / 0.5628 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.1626, allocations: 35.78 kB / 0.5628 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.1644, allocations: 1.505 MB / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1647, allocations: 0.7041 MB / 0.565 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.231e-05/0.1648, allocations: 16.53 kB / 0.565 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.1648, allocations: 31.42 kB / 0.565 GB, free: 12.48 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.1648, allocations: 0 / 0.565 GB, free: 12.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.19, allocations: 3.198 MB / 0.5681 GB, free: 9.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/7.942, allocations: 0 / 0.5681 GB, free: 9.348 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.250188973732293] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.065540154930204 8.087850781 7.928193588 Calling exit ...