Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.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.001599/0.001599, allocations: 117.8 kB / 18.5 MB, free: 4.602 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.002096/0.002096, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.53/1.53, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2454/0.2454, allocations: 46.9 MB / 357.4 MB, free: 10.51 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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19",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.002331/0.002331, allocations: 79.86 kB / 0.4912 GB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1514, allocations: 65.98 MB / 0.5557 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003607/0.155, allocations: 1.606 MB / 0.5572 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.157, allocations: 1.163 MB / 0.5584 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.157, allocations: 0 / 0.5584 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.1573, allocations: 27.78 kB / 0.5584 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.1576, allocations: 91.61 kB / 0.5585 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.1579, allocations: 86.89 kB / 0.5586 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.158, allocations: 67.77 kB / 0.5586 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1581, allocations: 15.98 kB / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.126e-05/0.1582, allocations: 23.86 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.1584, allocations: 35.84 kB / 0.5587 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1584, allocations: 4 kB / 0.5587 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.1586, allocations: 103.9 kB / 0.5588 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.1586, allocations: 7.938 kB / 0.5588 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.1587, allocations: 31.86 kB / 0.5589 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.159, allocations: 139.4 kB / 0.559 GB, free: 3.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.159, allocations: 0 / 0.559 GB, free: 3.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.159, allocations: 3.984 kB / 0.559 GB, free: 3.008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.159, allocations: 4 kB / 0.559 GB, free: 3.004 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006492/0.1597, allocations: 402.8 kB / 0.5594 GB, free: 2.559 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1597, allocations: 8.031 kB / 0.5594 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.1598, allocations: 30.75 kB / 0.5594 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.1598, allocations: 8.891 kB / 0.5594 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.1601, allocations: 192.3 kB / 0.5596 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1601, allocations: 4.375 kB / 0.5596 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.1601, allocations: 4.375 kB / 0.5596 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.1603, allocations: 63.89 kB / 0.5597 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1603, allocations: 3.938 kB / 0.5597 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1603, allocations: 4 kB / 0.5597 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1603, allocations: 0 / 0.5597 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.073e-05/0.1604, allocations: 19.98 kB / 0.5597 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.1608, allocations: 292.8 kB / 0.56 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.1611, allocations: 42.5 kB / 0.56 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.1611, allocations: 8.953 kB / 0.56 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.1611, allocations: 11.98 kB / 0.56 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.1612, allocations: 34.56 kB / 0.5601 GB, free: 1.715 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1612, allocations: 0 / 0.5601 GB, free: 1.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005698/0.1617, allocations: 137.4 kB / 0.5602 GB, free: 1.574 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.1618, allocations: 77.11 kB / 0.5603 GB, free: 1.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.162, allocations: 141.8 kB / 0.5604 GB, free: 1.332 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.162, allocations: 25.7 kB / 0.5604 GB, free: 1.301 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.1621, allocations: 100.1 kB / 0.5605 GB, free: 1.199 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.1621, allocations: 23.8 kB / 0.5606 GB, free: 1.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.1621, allocations: 17.7 kB / 0.5606 GB, free: 1.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1623, allocations: 318.8 kB / 0.5609 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.1624, allocations: 20.05 kB / 0.5609 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.492e-05/0.1625, allocations: 37.69 kB / 0.5609 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.1626, allocations: 52.81 kB / 0.561 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1626, allocations: 0 / 0.561 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000199/0.1628, allocations: 81.61 kB / 0.5611 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1628, allocations: 7.938 kB / 0.5611 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1628, allocations: 3.938 kB / 0.5611 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1628, allocations: 288 / 0.5611 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.1629, allocations: 15.98 kB / 0.5611 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1629, allocations: 3.984 kB / 0.5611 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.1629, allocations: 8 kB / 0.5611 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.163, allocations: 0 / 0.5611 GB, free: 0.5898 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001058/0.1631, allocations: 121.7 kB / 0.5612 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.1631, allocations: 15.94 kB / 0.5612 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.1633, allocations: 89.95 kB / 0.5613 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1633, allocations: 0 / 0.5613 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1634, allocations: 0 / 0.5613 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1634, allocations: 4 kB / 0.5613 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.1639, allocations: 350.4 kB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1639, allocations: 320 / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.1639, allocations: 19.98 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1639, allocations: 0 / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.1639, allocations: 0 / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1639, allocations: 0 / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.164, allocations: 3.938 kB / 0.5617 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1642, allocations: 179.5 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.1643, allocations: 89.06 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.1643, allocations: 3.938 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.1644, allocations: 7.984 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.1644, allocations: 3.938 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1644, allocations: 4 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1645, allocations: 121.3 kB / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1645, allocations: 0 / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003053/0.1648, allocations: 35.88 kB / 0.5621 GB, free: 15.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00224/0.167, allocations: 1.091 MB / 0.5632 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1673, allocations: 51.91 kB / 0.5632 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1673, allocations: 0 / 0.5632 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.968e-05/0.1674, allocations: 23.98 kB / 0.5632 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.1677, allocations: 23.86 kB / 0.5633 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1696, allocations: 1.421 MB / 0.5647 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.1699, allocations: 0.6924 MB / 0.5653 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.132e-05/0.17, allocations: 15.78 kB / 0.5653 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.1701, allocations: 27.42 kB / 0.5654 GB, free: 12.15 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1701, allocations: 0 / 0.5654 GB, free: 12.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.1984, allocations: 3.258 MB / 0.5686 GB, free: 8.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.316, allocations: 4.5 kB / 0.5686 GB, free: 8.918 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.451935180928558] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.440197753719985 8.46215722 8.299073601 Calling exit ...