Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 109.9 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.901/0.901, allocations: 132.2 MB / 429.4 MB, free: 6.062 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 73.02 kB / 0.5894 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1507, allocations: 80.2 MB / 0.6677 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002539/0.1533, allocations: 1.434 MB / 0.6691 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005544/0.1539, allocations: 256 kB / 0.6693 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.1539, allocations: 0 / 0.6693 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.1539, allocations: 3.938 kB / 0.6693 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.806e-05/0.154, allocations: 0 / 0.6693 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.1544, allocations: 59.83 kB / 0.6694 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.476e-05/0.1544, allocations: 31.84 kB / 0.6694 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.1545, allocations: 8 kB / 0.6694 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.1546, allocations: 7.984 kB / 0.6695 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.876e-05/0.1546, allocations: 11.92 kB / 0.6695 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.1546, allocations: 4 kB / 0.6695 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1548, allocations: 59.89 kB / 0.6695 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.1548, allocations: 7.969 kB / 0.6695 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.1549, allocations: 11.94 kB / 0.6695 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.155, allocations: 44.16 kB / 0.6696 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.155, allocations: 8 kB / 0.6696 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.155, allocations: 3.938 kB / 0.6696 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.155, allocations: 0 / 0.6696 GB, free: 7.887 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004874/0.1555, allocations: 343.3 kB / 0.6699 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1556, allocations: 8.031 kB / 0.6699 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.1556, allocations: 42.73 kB / 0.67 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.1556, allocations: 0.9375 kB / 0.67 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.1558, allocations: 168.3 kB / 0.6701 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1558, allocations: 4.375 kB / 0.6701 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.1558, allocations: 8.312 kB / 0.6701 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.156, allocations: 50.23 kB / 0.6702 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.156, allocations: 3.938 kB / 0.6702 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.1561, allocations: 0 / 0.6702 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1561, allocations: 0 / 0.6702 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.1562, allocations: 39.94 kB / 0.6702 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.1566, allocations: 248.9 kB / 0.6705 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.1567, allocations: 42.44 kB / 0.6705 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.86e-05/0.1568, allocations: 24.89 kB / 0.6705 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007476/0.1576, allocations: 461.5 kB / 0.671 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1576, allocations: 34.56 kB / 0.671 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1576, allocations: 0 / 0.671 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003843/0.158, allocations: 77.59 kB / 0.6711 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.1581, allocations: 59.52 kB / 0.6711 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.1582, allocations: 97.86 kB / 0.6712 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.1582, allocations: 25.7 kB / 0.6713 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.1582, allocations: 80.14 kB / 0.6713 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1583, allocations: 11.95 kB / 0.6713 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.1583, allocations: 13.7 kB / 0.6714 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1585, allocations: 310.8 kB / 0.6717 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.025e-05/0.1585, allocations: 23.98 kB / 0.6717 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.946e-05/0.1586, allocations: 11.98 kB / 0.6717 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.1588, allocations: 40.81 kB / 0.6717 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.1588, allocations: 7.938 kB / 0.6717 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.159, allocations: 65.61 kB / 0.6718 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.159, allocations: 16.08 kB / 0.6718 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.159, allocations: 0 / 0.6718 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.159, allocations: 3.938 kB / 0.6718 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.758e-05/0.1591, allocations: 8 kB / 0.6718 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1591, allocations: 0 / 0.6718 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.1592, allocations: 7.984 kB / 0.6718 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1592, allocations: 0 / 0.6718 GB, free: 5.266 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * 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 8.119e-05/0.1593, allocations: 109.8 kB / 0.6719 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.1593, allocations: 11.95 kB / 0.6719 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.1595, allocations: 72.77 kB / 0.672 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1596, allocations: 0 / 0.672 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1596, allocations: 3.938 kB / 0.672 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1596, allocations: 0 / 0.672 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.1598, allocations: 157.6 kB / 0.6722 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1598, allocations: 0 / 0.6722 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.1598, allocations: 11.98 kB / 0.6722 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1598, allocations: 4.031 kB / 0.6722 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1599, allocations: 3.938 kB / 0.6722 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1599, allocations: 0 / 0.6722 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1599, allocations: 0 / 0.6722 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1601, allocations: 163.5 kB / 0.6723 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.1602, allocations: 81.11 kB / 0.6724 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.1602, allocations: 4.031 kB / 0.6724 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.1603, allocations: 7.984 kB / 0.6724 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.1603, allocations: 0 / 0.6724 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.1603, allocations: 0 / 0.6724 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.575e-05/0.1604, allocations: 87.27 kB / 0.6725 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.246e-06/0.1604, allocations: 0 / 0.6725 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000234/0.1606, allocations: 23.88 kB / 0.6725 GB, free: 4.434 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * 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.0006552/0.1613, allocations: 0.7123 MB / 0.6732 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.1615, allocations: 47.98 kB / 0.6733 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1615, allocations: 0 / 0.6733 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.1616, allocations: 19.92 kB / 0.6733 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.1618, allocations: 6.953 kB / 0.6733 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.1623, allocations: 135 kB / 0.6734 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.1626, allocations: 0.673 MB / 0.6741 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.283e-05/0.1626, allocations: 15.92 kB / 0.6741 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.1627, allocations: 11.44 kB / 0.6741 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1627, allocations: 0 / 0.6741 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.1859, allocations: 1.496 MB / 0.6756 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.074, allocations: 15.59 kB / 0.6756 GB, free: 1.293 MB / 0.4981 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.537926743039861] Failed to read output from testmodel.py, exit status != 0: 8.140022331150249 8.154850809 7.997163449 Calling exit ...