Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.00145/0.00145, allocations: 108.3 kB / 16.45 MB, free: 6.395 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.00134/0.00134, allocations: 195.7 kB / 19.41 MB, free: 3.742 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.398/1.398, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.847/0.847, allocations: 134 MB / 436.6 MB, free: 1.242 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.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 72.19 kB / 0.6052 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1704, allocations: 84.67 MB / 0.6878 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001842/0.1722, allocations: 0.5712 MB / 0.6884 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005391/0.1728, allocations: 207.7 kB / 0.6886 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.268e-05/0.1728, allocations: 0 / 0.6886 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.1728, allocations: 0 / 0.6886 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-06/0.1728, allocations: 0 / 0.6886 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.1732, allocations: 59.81 kB / 0.6887 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.067e-05/0.1733, allocations: 4 kB / 0.6887 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.1733, allocations: 0 / 0.6887 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.246e-05/0.1733, allocations: 0 / 0.6887 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.102e-05/0.1734, allocations: 3.938 kB / 0.6887 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.1734, allocations: 0 / 0.6887 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.1735, allocations: 67.86 kB / 0.6887 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.663e-06/0.1736, allocations: 7.938 kB / 0.6887 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.1736, allocations: 0 / 0.6887 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.1737, allocations: 40.16 kB / 0.6888 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1737, allocations: 0 / 0.6888 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1737, allocations: 0 / 0.6888 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1737, allocations: 0 / 0.6888 GB, free: 10.09 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003803/0.1741, allocations: 321.8 kB / 0.6891 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1741, allocations: 12.03 kB / 0.6891 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.1742, allocations: 34.69 kB / 0.6891 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.071e-05/0.1742, allocations: 0.9375 kB / 0.6891 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1743, allocations: 164.4 kB / 0.6893 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1743, allocations: 384 / 0.6893 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1743, allocations: 384 / 0.6893 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.694e-05/0.1744, allocations: 34.25 kB / 0.6893 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1744, allocations: 3.938 kB / 0.6893 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.1745, allocations: 0 / 0.6893 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1745, allocations: 0 / 0.6893 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/0.1745, allocations: 0 / 0.6893 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.1746, allocations: 149.7 kB / 0.6895 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.905e-05/0.1747, allocations: 22.52 kB / 0.6895 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.1747, allocations: 4.859 kB / 0.6895 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008522/0.1756, allocations: 461.5 kB / 0.6899 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1756, allocations: 34.56 kB / 0.69 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.1756, allocations: 0 / 0.69 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.1757, allocations: 37.62 kB / 0.69 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.1758, allocations: 55.34 kB / 0.6901 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.832e-05/0.1758, allocations: 93.8 kB / 0.6901 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1759, allocations: 25.7 kB / 0.6902 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.1759, allocations: 80.14 kB / 0.6902 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.1759, allocations: 11.95 kB / 0.6903 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.176, allocations: 13.84 kB / 0.6903 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1761, allocations: 310.8 kB / 0.6906 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/0.1761, allocations: 0 / 0.6906 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.1762, allocations: 4 kB / 0.6906 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.359e-05/0.1762, allocations: 4.859 kB / 0.6906 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1762, allocations: 0 / 0.6906 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.279e-05/0.1762, allocations: 45.62 kB / 0.6906 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1763, allocations: 11.06 kB / 0.6906 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1763, allocations: 3.938 kB / 0.6906 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1763, allocations: 3.938 kB / 0.6906 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/0.1763, allocations: 4 kB / 0.6906 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1763, allocations: 0 / 0.6906 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-06/0.1763, allocations: 0 / 0.6906 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1763, allocations: 3.984 kB / 0.6906 GB, free: 7.859 MB / 0.5137 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 (1): * Single equations (assignments): 1 * 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.826e-05/0.1764, allocations: 105.8 kB / 0.6907 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.1764, allocations: 4 kB / 0.6907 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.308e-05/0.1765, allocations: 44.75 kB / 0.6908 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1765, allocations: 0 / 0.6908 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1765, allocations: 0 / 0.6908 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1765, allocations: 0 / 0.6908 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.1767, allocations: 149.7 kB / 0.6909 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1767, allocations: 4 kB / 0.6909 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.514e-05/0.1767, allocations: 7.938 kB / 0.6909 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1767, allocations: 0 / 0.6909 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1767, allocations: 3.938 kB / 0.6909 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1767, allocations: 0 / 0.6909 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1767, allocations: 0 / 0.6909 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.448e-05/0.1768, allocations: 65.16 kB / 0.691 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.1768, allocations: 77.11 kB / 0.6911 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.1768, allocations: 3.938 kB / 0.6911 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.1768, allocations: 0 / 0.6911 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.1768, allocations: 3.984 kB / 0.6911 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.1769, allocations: 3.938 kB / 0.6911 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.967e-05/0.1769, allocations: 83.31 kB / 0.6912 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1769, allocations: 0 / 0.6912 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002027/0.1771, allocations: 11.94 kB / 0.6912 GB, free: 7.195 MB / 0.5137 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 (1): * Single equations (assignments): 1 * 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.0005306/0.1776, allocations: 0.624 MB / 0.6918 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.669e-05/0.1777, allocations: 8 kB / 0.6918 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1777, allocations: 0 / 0.6918 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.296e-06/0.1777, allocations: 4 kB / 0.6918 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1778, allocations: 0 / 0.6918 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.1782, allocations: 118.5 kB / 0.6919 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.1785, allocations: 0.6691 MB / 0.6926 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.142e-05/0.1785, allocations: 4 kB / 0.6926 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.1785, allocations: 11.44 kB / 0.6926 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.1785, allocations: 0 / 0.6926 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.203, allocations: 1.137 MB / 0.6937 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.08, allocations: 12.55 kB / 0.6937 GB, free: 4.609 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.498888809699565] Failed to read output from testmodel.py, exit status != 0: 8.149882970843464 8.168487298 7.991624062 Calling exit ...