Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.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.001822/0.001822, allocations: 108.6 kB / 16.4 MB, free: 6.449 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.001913/0.001913, allocations: 191.7 kB / 19.35 MB, free: 3.711 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.409/1.409, allocations: 222.9 MB / 245.1 MB, free: 15 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.8132/0.8132, allocations: 132.2 MB / 429.4 MB, free: 5.902 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.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.98 kB / 0.5894 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1498, allocations: 80.2 MB / 0.6677 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002448/0.1523, allocations: 1.439 MB / 0.6691 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005137/0.1528, allocations: 240.1 kB / 0.6693 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.1529, allocations: 3.938 kB / 0.6693 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.051e-05/0.1529, allocations: 0 / 0.6693 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.976e-05/0.1529, allocations: 7.938 kB / 0.6693 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.1532, allocations: 55.83 kB / 0.6694 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.936e-05/0.1533, allocations: 31.91 kB / 0.6694 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.357e-05/0.1534, allocations: 0 / 0.6694 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.41e-05/0.1534, allocations: 8 kB / 0.6694 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.355e-05/0.1535, allocations: 11.92 kB / 0.6694 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.1535, allocations: 0 / 0.6694 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1536, allocations: 63.88 kB / 0.6695 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.1536, allocations: 4 kB / 0.6695 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.1537, allocations: 15.92 kB / 0.6695 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1538, allocations: 48.16 kB / 0.6696 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1538, allocations: 3.984 kB / 0.6696 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1538, allocations: 3.938 kB / 0.6696 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.1538, allocations: 0 / 0.6696 GB, free: 7.879 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.0004551/0.1543, allocations: 347.3 kB / 0.6699 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1543, allocations: 12.03 kB / 0.6699 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.1544, allocations: 34.69 kB / 0.67 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.886e-05/0.1544, allocations: 0.9375 kB / 0.67 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1545, allocations: 168.4 kB / 0.6701 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-06/0.1546, allocations: 384 / 0.6701 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.1546, allocations: 384 / 0.6701 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1547, allocations: 50.23 kB / 0.6702 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1548, allocations: 3.938 kB / 0.6702 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1548, allocations: 0 / 0.6702 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1548, allocations: 0 / 0.6702 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.155, allocations: 35.95 kB / 0.6702 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.1553, allocations: 264.8 kB / 0.6705 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1554, allocations: 42.48 kB / 0.6705 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.1555, allocations: 16.91 kB / 0.6705 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006716/0.1562, allocations: 457.5 kB / 0.6709 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1562, allocations: 34.55 kB / 0.671 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1562, allocations: 0 / 0.671 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003405/0.1566, allocations: 85.69 kB / 0.6711 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.1566, allocations: 55.39 kB / 0.6711 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.1567, allocations: 93.86 kB / 0.6712 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1567, allocations: 29.7 kB / 0.6712 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.1568, allocations: 84.14 kB / 0.6713 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.1568, allocations: 3.953 kB / 0.6713 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.1568, allocations: 17.7 kB / 0.6713 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.157, allocations: 314.8 kB / 0.6716 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.1571, allocations: 16.02 kB / 0.6717 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/0.1571, allocations: 19.98 kB / 0.6717 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.1573, allocations: 36.81 kB / 0.6717 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1573, allocations: 3.938 kB / 0.6717 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001947/0.1575, allocations: 69.67 kB / 0.6718 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1575, allocations: 4 kB / 0.6718 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1576, allocations: 3.984 kB / 0.6718 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1576, allocations: 7.938 kB / 0.6718 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/0.1576, allocations: 4 kB / 0.6718 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1577, allocations: 0 / 0.6718 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.1577, allocations: 7.984 kB / 0.6718 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1577, allocations: 0 / 0.6718 GB, free: 5.273 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 7.728e-05/0.1578, allocations: 121.8 kB / 0.6719 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.1578, allocations: 3.953 kB / 0.6719 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.1581, allocations: 72.91 kB / 0.672 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.1581, allocations: 11.97 kB / 0.672 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1581, allocations: 0 / 0.672 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.1581, allocations: 0 / 0.672 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.1583, allocations: 157.6 kB / 0.6722 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1583, allocations: 0 / 0.6722 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.574e-05/0.1583, allocations: 12.02 kB / 0.6722 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1583, allocations: 4 kB / 0.6722 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.1584, allocations: 0 / 0.6722 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1584, allocations: 0 / 0.6722 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1584, allocations: 0 / 0.6722 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1586, allocations: 163.5 kB / 0.6723 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.1587, allocations: 81.14 kB / 0.6724 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.1587, allocations: 0 / 0.6724 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.1588, allocations: 11.92 kB / 0.6724 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.1588, allocations: 7.938 kB / 0.6724 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1588, allocations: 4 kB / 0.6724 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.1589, allocations: 79.28 kB / 0.6725 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1589, allocations: 0 / 0.6725 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002296/0.1591, allocations: 19.92 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.0006155/0.1597, allocations: 0.7162 MB / 0.6732 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.16, allocations: 43.92 kB / 0.6733 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.16, allocations: 0 / 0.6733 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.1e-05/0.1601, allocations: 19.98 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.0002133/0.1603, allocations: 4 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.0003639/0.1606, 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.0003066/0.161, allocations: 0.6769 MB / 0.6741 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.943e-05/0.161, allocations: 7.938 kB / 0.6741 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.161, allocations: 15.42 kB / 0.6741 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.161, allocations: 0 / 0.6741 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.1825, allocations: 1.502 MB / 0.6756 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/8.092, allocations: 0 / 0.6756 GB, free: 1.309 MB / 0.4981 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.539691525977105] Failed to read output from testmodel.py, exit status != 0: 8.158887780969962 8.184558381 8.026254987 Calling exit ...