Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.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.001333/0.001333, allocations: 122.6 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.001359/0.001359, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.473/1.473, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.232/0.232, allocations: 46.92 MB / 357.7 MB, free: 10.22 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.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator",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.003441/0.003441, allocations: 79.86 kB / 0.4916 GB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1601, allocations: 66.04 MB / 0.5561 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003239/0.1634, allocations: 1.734 MB / 0.5578 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001908/0.1636, allocations: 71.67 kB / 0.5579 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.1636, allocations: 4 kB / 0.5579 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.428e-05/0.1637, allocations: 19.84 kB / 0.5579 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.504e-05/0.1638, allocations: 31.77 kB / 0.5579 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.459e-05/0.1639, allocations: 19.98 kB / 0.558 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.164, allocations: 103.6 kB / 0.5581 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.1642, allocations: 39.97 kB / 0.5581 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.099e-05/0.1643, allocations: 39.86 kB / 0.5581 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1644, allocations: 55.75 kB / 0.5582 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.1644, allocations: 8 kB / 0.5582 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.1644, allocations: 12 kB / 0.5582 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.1644, allocations: 19.94 kB / 0.5582 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.185e-05/0.1645, allocations: 51.8 kB / 0.5583 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.1647, allocations: 123.5 kB / 0.5584 GB, free: 3.273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1647, allocations: 0 / 0.5584 GB, free: 3.273 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1647, allocations: 3.938 kB / 0.5584 GB, free: 3.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1647, allocations: 0 / 0.5584 GB, free: 3.27 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005721/0.1653, allocations: 403.3 kB / 0.5588 GB, free: 2.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1653, allocations: 12.02 kB / 0.5588 GB, free: 2.809 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.1654, allocations: 38.75 kB / 0.5588 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.1654, allocations: 12.84 kB / 0.5588 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1656, allocations: 176.3 kB / 0.559 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1656, allocations: 12.55 kB / 0.559 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.1656, allocations: 12.38 kB / 0.559 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.1658, allocations: 133.6 kB / 0.5592 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1659, allocations: 7.922 kB / 0.5592 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1659, allocations: 4 kB / 0.5592 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.1659, allocations: 11.94 kB / 0.5592 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.166, allocations: 59.92 kB / 0.5592 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009162/0.1669, allocations: 0.7236 MB / 0.56 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.167, allocations: 173.1 kB / 0.5601 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.1671, allocations: 84.14 kB / 0.5602 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.1671, allocations: 75.28 kB / 0.5603 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.975e-05/0.1672, allocations: 109.8 kB / 0.5604 GB, free: 1.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.1672, allocations: 3.938 kB / 0.5604 GB, free: 1.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.723e-05/0.1672, allocations: 29.7 kB / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.1673, allocations: 130.6 kB / 0.5605 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.1675, allocations: 155 kB / 0.5607 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1675, allocations: 29.7 kB / 0.5607 GB, free: 0.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.1676, allocations: 119.9 kB / 0.5608 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/0.1676, allocations: 4 kB / 0.5608 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.1676, allocations: 21.67 kB / 0.5608 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1678, allocations: 322.8 kB / 0.5612 GB, free: 196 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.1678, allocations: 4 kB / 0.5612 GB, free: 192 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.939e-05/0.1679, allocations: 49.16 kB / 0.5612 GB, free: 124 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.812e-05/0.1679, allocations: 49.08 kB / 0.5612 GB, free: 56 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1679, allocations: 8 kB / 0.5613 GB, free: 48 kB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001627/0.1681, allocations: 69.56 kB / 0.5613 GB, free: 15.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1681, allocations: 6.5 kB / 0.5613 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1681, allocations: 4 kB / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1681, allocations: 0 / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.1682, allocations: 11.94 kB / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1682, allocations: 4 kB / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.1683, allocations: 15.83 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1683, allocations: 16.17 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.000125/0.1684, allocations: 193.1 kB / 0.5616 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.1685, allocations: 112.9 kB / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.1686, allocations: 112.7 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.088e-05/0.1687, allocations: 184.3 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.253e-05/0.1688, allocations: 184.2 kB / 0.5621 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.799e-05/0.1688, allocations: 184.3 kB / 0.5623 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.1692, allocations: 441.1 kB / 0.5627 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.507e-05/0.1692, allocations: 101 kB / 0.5628 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.1693, allocations: 101 kB / 0.5629 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.171e-05/0.1693, allocations: 188.2 kB / 0.5631 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.375e-05/0.1694, allocations: 180.3 kB / 0.5633 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.229e-05/0.1695, allocations: 184.2 kB / 0.5634 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-05/0.1696, allocations: 180.3 kB / 0.5636 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.1698, allocations: 311.7 kB / 0.5639 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.1699, allocations: 194.1 kB / 0.5641 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.17, allocations: 192.1 kB / 0.5643 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.1701, allocations: 101 kB / 0.5644 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.1702, allocations: 188.2 kB / 0.5646 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.1703, allocations: 112.9 kB / 0.5647 GB, free: 12.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.303e-05/0.1703, allocations: 103.3 kB / 0.5648 GB, free: 12.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1703, allocations: 0 / 0.5648 GB, free: 12.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000239/0.1706, allocations: 27.94 kB / 0.5648 GB, free: 12.2 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 (0): * Single equations (assignments): 0 * 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.0005364/0.1711, allocations: 0.8009 MB / 0.5656 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.1712, allocations: 20.25 kB / 0.5656 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1712, allocations: 4.062 kB / 0.5656 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.1712, allocations: 0 / 0.5656 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.1717, allocations: 463.6 kB / 0.566 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.1735, allocations: 1.583 MB / 0.5676 GB, free: 9.195 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1738, allocations: 0.7002 MB / 0.5683 GB, free: 8.469 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.371e-05/0.1738, allocations: 0 / 0.5683 GB, free: 8.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.1739, allocations: 27.42 kB / 0.5683 GB, free: 8.441 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1739, allocations: 0 / 0.5683 GB, free: 8.441 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.1989, allocations: 1.619 MB / 0.5699 GB, free: 6.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/8.668, allocations: 4.062 kB / 0.5699 GB, free: 6.906 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.04278623778373] Failed to read output from testmodel.py, exit status != 0: ['time', 'gyrator.v1', 'gyrator.v2', 'gyrator.i1', 'gyrator.i2'] 8.737130710855126 8.761421039 8.592033487 Calling exit ...