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.001247/0.001247, allocations: 121.3 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.001311/0.001311, allocations: 210.5 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.476/1.476, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2336/0.2336, allocations: 46.89 MB / 357.4 MB, free: 10.53 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.003304/0.003304, allocations: 77.22 kB / 0.4912 GB, free: 26.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1568, allocations: 65.98 MB / 0.5556 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.00294/0.1597, allocations: 1.737 MB / 0.5573 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001751/0.1599, allocations: 71.72 kB / 0.5574 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.16, allocations: 0 / 0.5574 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.239e-05/0.1601, allocations: 23.78 kB / 0.5574 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.992e-05/0.1601, allocations: 27.78 kB / 0.5574 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.971e-05/0.1602, allocations: 23.97 kB / 0.5575 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1604, allocations: 95.59 kB / 0.5576 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.1607, allocations: 52.22 kB / 0.5576 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.1607, allocations: 35.88 kB / 0.5576 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.229e-05/0.1608, allocations: 47.83 kB / 0.5577 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.1608, allocations: 12 kB / 0.5577 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.174e-05/0.1609, allocations: 11.94 kB / 0.5577 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.758e-05/0.1609, allocations: 19.98 kB / 0.5577 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.466e-05/0.1609, allocations: 55.73 kB / 0.5578 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.1611, allocations: 123.5 kB / 0.5579 GB, free: 6.812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1611, allocations: 0 / 0.5579 GB, free: 6.812 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1611, allocations: 0 / 0.5579 GB, free: 6.812 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1612, allocations: 0 / 0.5579 GB, free: 6.812 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.0006497/0.1618, allocations: 403.3 kB / 0.5583 GB, free: 6.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1618, allocations: 8.031 kB / 0.5583 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.1619, allocations: 42.75 kB / 0.5583 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.1619, allocations: 16.84 kB / 0.5583 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1621, allocations: 176.2 kB / 0.5585 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1621, allocations: 12.61 kB / 0.5585 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1621, allocations: 12.38 kB / 0.5585 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.1624, allocations: 137.4 kB / 0.5587 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1624, allocations: 3.938 kB / 0.5587 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1624, allocations: 4 kB / 0.5587 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1624, allocations: 4 kB / 0.5587 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1625, allocations: 59.97 kB / 0.5587 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009323/0.1635, allocations: 0.7274 MB / 0.5595 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.1636, allocations: 169.1 kB / 0.5596 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/0.1636, allocations: 84.14 kB / 0.5597 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.1637, allocations: 75.28 kB / 0.5598 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.722e-05/0.1638, allocations: 113.8 kB / 0.5599 GB, free: 4.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.1638, allocations: 0 / 0.5599 GB, free: 4.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.995e-05/0.1638, allocations: 29.7 kB / 0.5599 GB, free: 4.551 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/0.164, allocations: 126.7 kB / 0.56 GB, free: 4.414 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.1642, allocations: 159.5 kB / 0.5602 GB, free: 4.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1642, allocations: 25.7 kB / 0.5602 GB, free: 4.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.1643, allocations: 123.8 kB / 0.5603 GB, free: 4.094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.1643, allocations: 0 / 0.5603 GB, free: 4.094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.1644, allocations: 21.67 kB / 0.5603 GB, free: 4.066 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1645, allocations: 330.7 kB / 0.5607 GB, free: 3.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.1645, allocations: 4 kB / 0.5607 GB, free: 3.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.776e-05/0.1646, allocations: 45.09 kB / 0.5607 GB, free: 3.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.627e-05/0.1647, allocations: 57.08 kB / 0.5608 GB, free: 3.594 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1647, allocations: 4 kB / 0.5608 GB, free: 3.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001708/0.1648, allocations: 69.56 kB / 0.5608 GB, free: 3.516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1649, allocations: 8 kB / 0.5608 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1649, allocations: 0 / 0.5608 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1649, allocations: 4 kB / 0.5608 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.165, allocations: 8 kB / 0.5608 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.165, allocations: 0 / 0.5608 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.165, allocations: 20.08 kB / 0.5609 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.165, allocations: 15.98 kB / 0.5609 GB, free: 3.461 MB / 414.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.00013/0.1652, allocations: 193.1 kB / 0.5611 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.1652, allocations: 108.9 kB / 0.5612 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.806e-05/0.1653, allocations: 116.6 kB / 0.5613 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.744e-05/0.1654, allocations: 184.3 kB / 0.5615 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.745e-05/0.1655, allocations: 180.3 kB / 0.5616 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001043/0.1656, allocations: 188.1 kB / 0.5618 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.1659, allocations: 433.3 kB / 0.5622 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.747e-05/0.166, allocations: 112.9 kB / 0.5623 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.1661, allocations: 101 kB / 0.5624 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.1662, allocations: 176.3 kB / 0.5626 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.1663, allocations: 188.2 kB / 0.5628 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.79e-05/0.1664, allocations: 188.2 kB / 0.5629 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.252e-05/0.1665, allocations: 180.2 kB / 0.5631 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.1667, allocations: 307.7 kB / 0.5634 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.1668, allocations: 198 kB / 0.5636 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.1669, allocations: 176.3 kB / 0.5638 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1671, allocations: 104.9 kB / 0.5639 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.1672, allocations: 184.3 kB / 0.564 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/0.1672, allocations: 112.9 kB / 0.5642 GB, free: 15.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.128e-05/0.1673, allocations: 109.1 kB / 0.5643 GB, free: 15.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1673, allocations: 4 kB / 0.5643 GB, free: 15.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.1676, allocations: 16 kB / 0.5643 GB, free: 15.75 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.0005548/0.1682, allocations: 0.8048 MB / 0.5651 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.1683, allocations: 20.12 kB / 0.5651 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1683, allocations: 4.125 kB / 0.5651 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/0.1683, allocations: 4 kB / 0.5651 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.1687, allocations: 463.6 kB / 0.5655 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.1704, allocations: 1.591 MB / 0.5671 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.1708, allocations: 0.6963 MB / 0.5678 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.644e-05/0.1709, allocations: 4 kB / 0.5678 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.1709, allocations: 23.42 kB / 0.5678 GB, free: 11.98 MB / 430.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1709, allocations: 0 / 0.5678 GB, free: 11.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.194, allocations: 1.625 MB / 0.5694 GB, free: 10.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.29, allocations: 0 / 0.5694 GB, free: 10.45 MB / 430.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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: 11.22143139410764] Failed to read output from testmodel.py, exit status != 0: ['time', 'gyrator.v1', 'gyrator.v2', 'gyrator.i1', 'gyrator.i2'] 8.357686177827418 8.371286203 8.20735161 Calling exit ...