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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002265/0.002265, allocations: 216.2 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 256 MB, free: 8.008 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.8334/0.8334, allocations: 134 MB / 446.4 MB, free: 10.25 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 70.66 kB / 0.6186 GB, free: 7.164 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1629, allocations: 85.9 MB / 0.7025 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001842/0.1648, allocations: 0.5859 MB / 0.703 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005228/0.1653, allocations: 195.8 kB / 0.7032 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.566e-05/0.1653, allocations: 0 / 0.7032 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.1653, allocations: 3.938 kB / 0.7032 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.803e-06/0.1653, allocations: 0 / 0.7032 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.1657, allocations: 63.81 kB / 0.7033 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.157e-05/0.1658, allocations: 4 kB / 0.7033 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.1658, allocations: 0 / 0.7033 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.334e-05/0.1658, allocations: 4 kB / 0.7033 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.503e-05/0.1659, allocations: 3.938 kB / 0.7033 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.1659, allocations: 0 / 0.7033 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.1661, allocations: 67.86 kB / 0.7034 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.034e-06/0.1661, allocations: 3.938 kB / 0.7034 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.1661, allocations: 0 / 0.7034 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.1662, allocations: 36.16 kB / 0.7034 GB, free: 400 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1662, allocations: 0 / 0.7034 GB, free: 400 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.465e-06/0.1662, allocations: 4 kB / 0.7034 GB, free: 396 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.1662, allocations: 0 / 0.7034 GB, free: 396 kB / 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.0003182/0.1666, allocations: 246.4 kB / 0.7036 GB, free: 116 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1666, allocations: 8.031 kB / 0.7037 GB, free: 108 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.1666, allocations: 30.75 kB / 0.7037 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.869e-05/0.1666, allocations: 0.9375 kB / 0.7037 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1668, allocations: 106.5 kB / 0.7038 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1668, allocations: 384 / 0.7038 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.1668, allocations: 384 / 0.7038 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1669, allocations: 38.19 kB / 0.7038 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1669, allocations: 11.92 kB / 0.7038 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.1669, allocations: 0 / 0.7038 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1669, allocations: 0 / 0.7038 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.838e-05/0.1669, allocations: 0 / 0.7038 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.1671, allocations: 116.8 kB / 0.7039 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/0.1671, allocations: 18.61 kB / 0.704 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.1671, allocations: 4.859 kB / 0.704 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000625/0.1678, allocations: 83.97 kB / 0.704 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1678, allocations: 34.5 kB / 0.7041 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1678, allocations: 3.938 kB / 0.7041 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.1679, allocations: 41.69 kB / 0.7041 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.168, allocations: 59.44 kB / 0.7042 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.644e-05/0.168, allocations: 93.84 kB / 0.7043 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1681, allocations: 25.7 kB / 0.7043 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.1681, allocations: 80.14 kB / 0.7044 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.1681, allocations: 0 / 0.7044 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.1682, allocations: 13.72 kB / 0.7044 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1683, allocations: 310.8 kB / 0.7047 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.1683, allocations: 0 / 0.7047 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.1683, allocations: 4 kB / 0.7047 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.1683, allocations: 16.8 kB / 0.7047 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1683, allocations: 0 / 0.7047 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.249e-05/0.1684, allocations: 33.69 kB / 0.7047 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1684, allocations: 8 kB / 0.7047 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1684, allocations: 3.938 kB / 0.7047 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1684, allocations: 4 kB / 0.7047 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.708e-05/0.1685, allocations: 0 / 0.7047 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1685, allocations: 4.094 kB / 0.7048 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.187e-06/0.1685, allocations: 3.938 kB / 0.7048 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1685, allocations: 4 kB / 0.7048 GB, free: 14.81 MB / 0.5294 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.496e-05/0.1686, allocations: 105.8 kB / 0.7049 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.77e-06/0.1686, allocations: 0 / 0.7049 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.1687, allocations: 48.56 kB / 0.7049 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1687, allocations: 0 / 0.7049 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1687, allocations: 0 / 0.7049 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1687, allocations: 0 / 0.7049 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1688, allocations: 120.8 kB / 0.705 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1688, allocations: 0 / 0.705 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/0.1688, allocations: 3.984 kB / 0.705 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1688, allocations: 0 / 0.705 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1688, allocations: 7.938 kB / 0.705 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1688, allocations: 0 / 0.705 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1688, allocations: 0 / 0.705 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.033e-05/0.1689, allocations: 57.08 kB / 0.7051 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.1689, allocations: 8.031 kB / 0.7051 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1689, allocations: 11.86 kB / 0.7051 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.1689, allocations: 0 / 0.7051 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-06/0.1689, allocations: 0 / 0.7051 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.1689, allocations: 0 / 0.7051 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.1689, allocations: 75.28 kB / 0.7052 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1689, allocations: 0 / 0.7052 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002082/0.1691, allocations: 15.94 kB / 0.7052 GB, free: 14.29 MB / 0.5294 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.0004964/0.1696, allocations: 0.6085 MB / 0.7058 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.937e-05/0.1697, allocations: 15.92 kB / 0.7058 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1697, allocations: 4.094 kB / 0.7058 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/0.1697, allocations: 0 / 0.7058 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.1699, allocations: 4 kB / 0.7058 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.1702, allocations: 94.73 kB / 0.7059 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.1705, allocations: 0.6766 MB / 0.7066 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.238e-05/0.1705, allocations: 4 kB / 0.7066 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/0.1705, allocations: 7.438 kB / 0.7066 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1705, allocations: 0 / 0.7066 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.1989, allocations: 1.259 MB / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.73, allocations: 2.266 kB / 0.7078 GB, free: 11.65 MB / 0.5294 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 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: 14.346155177001492] Failed to read output from testmodel.py, exit status != 0: 10.835324216001027 10.852398713 10.6829629 Calling exit ...