Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.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.001769/0.001769, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001495/0.001495, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.544/1.544, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2449/0.2449, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.Test89,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89",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.002255/0.002255, allocations: 75.88 kB / 0.4913 GB, free: 8.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1371, allocations: 65.99 MB / 0.5557 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003683/0.1408, allocations: 1.744 MB / 0.5574 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003544/0.1444, allocations: 1.636 MB / 0.559 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1445, allocations: 0 / 0.559 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.1449, allocations: 39.77 kB / 0.5591 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.1454, allocations: 103.5 kB / 0.5592 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1457, allocations: 79.67 kB / 0.5593 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.1459, allocations: 107.7 kB / 0.5594 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.146, allocations: 8 kB / 0.5594 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1462, allocations: 55.77 kB / 0.5594 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.1464, allocations: 43.78 kB / 0.5595 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1464, allocations: 4 kB / 0.5595 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.1467, allocations: 107.9 kB / 0.5596 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.84e-05/0.1467, allocations: 23.84 kB / 0.5596 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.359e-05/0.1468, allocations: 35.75 kB / 0.5596 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.1472, allocations: 167.4 kB / 0.5598 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1472, allocations: 0 / 0.5598 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1472, allocations: 4 kB / 0.5598 GB, free: 2.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1472, allocations: 0 / 0.5598 GB, free: 2.188 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008058/0.148, allocations: 430.6 kB / 0.5602 GB, free: 1.719 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1481, allocations: 8.031 kB / 0.5602 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.1481, allocations: 34.75 kB / 0.5602 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.1482, allocations: 16.78 kB / 0.5603 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.1486, allocations: 219.5 kB / 0.5605 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1486, allocations: 384 / 0.5605 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.1487, allocations: 11.94 kB / 0.5605 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.1489, allocations: 75.38 kB / 0.5605 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1489, allocations: 0 / 0.5605 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1489, allocations: 0 / 0.5605 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1489, allocations: 4 kB / 0.5605 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1491, allocations: 19.92 kB / 0.5606 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.1496, allocations: 280.9 kB / 0.5608 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.1499, allocations: 62.67 kB / 0.5609 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.72e-05/0.1499, allocations: 16.86 kB / 0.5609 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.15, allocations: 3.984 kB / 0.5609 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.1502, allocations: 71.27 kB / 0.561 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.335e-06/0.1502, allocations: 8 kB / 0.561 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008316/0.151, allocations: 169.3 kB / 0.5612 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.1511, allocations: 81.09 kB / 0.5612 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.1514, allocations: 166.4 kB / 0.5614 GB, free: 336 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.1514, allocations: 25.7 kB / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.1515, allocations: 96.14 kB / 0.5615 GB, free: 204 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.1515, allocations: 27.8 kB / 0.5615 GB, free: 176 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.665e-05/0.1516, allocations: 25.72 kB / 0.5616 GB, free: 144 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.1518, allocations: 326.8 kB / 0.5619 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.785e-05/0.1519, allocations: 23.98 kB / 0.5619 GB, free: 15.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.152, allocations: 46.53 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.1522, allocations: 61.66 kB / 0.562 GB, free: 15.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1522, allocations: 0 / 0.562 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003065/0.1525, allocations: 97.66 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.1526, allocations: 8 kB / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1526, allocations: 3.938 kB / 0.5621 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1526, allocations: 0 / 0.5621 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1527, allocations: 15.98 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.1527, allocations: 4 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.65e-05/0.1528, allocations: 7.938 kB / 0.5621 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.1528, allocations: 4 kB / 0.5621 GB, free: 15.52 MB / 430.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.0001586/0.153, allocations: 123.5 kB / 0.5622 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.153, allocations: 19.88 kB / 0.5623 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.902e-05/0.1531, allocations: 12.72 kB / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1531, allocations: 384 / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1531, allocations: 0 / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1531, allocations: 3.938 kB / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007224/0.1538, allocations: 403.3 kB / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1538, allocations: 4 kB / 0.5627 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.1539, allocations: 11.92 kB / 0.5627 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1539, allocations: 11.97 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1539, allocations: 0 / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1539, allocations: 0 / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1539, allocations: 4 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.1543, allocations: 196.3 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.1544, allocations: 85.23 kB / 0.563 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.1544, allocations: 7.938 kB / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.1545, allocations: 7.938 kB / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.1546, allocations: 11.98 kB / 0.563 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.1546, allocations: 4 kB / 0.563 GB, free: 14.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.1548, allocations: 127.9 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1548, allocations: 3.938 kB / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005461/0.1553, allocations: 47.86 kB / 0.5632 GB, free: 14.36 MB / 430.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.003391/0.1587, allocations: 1.18 MB / 0.5643 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.159, allocations: 55.92 kB / 0.5644 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.159, allocations: 0 / 0.5644 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1591, allocations: 32.06 kB / 0.5644 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.1597, allocations: 37.91 kB / 0.5644 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.1624, allocations: 1.585 MB / 0.566 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.1628, allocations: 0.7051 MB / 0.5667 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1629, allocations: 12.88 kB / 0.5667 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.163, allocations: 35.42 kB / 0.5667 GB, free: 10.77 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.163, allocations: 0 / 0.5667 GB, free: 10.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.1911, allocations: 4.07 MB / 0.5707 GB, free: 6.727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.35, allocations: 10.09 kB / 0.5707 GB, free: 6.719 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.445666528772563] Failed to read output from testmodel.py, exit status != 0: 8.485143029130995 8.500977149 8.350581221 Calling exit ...