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.001728/0.001728, allocations: 101.4 kB / 16.45 MB, free: 6.449 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.001373/0.001373, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.432/1.432, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.8296/0.8296, allocations: 133.9 MB / 442.8 MB, free: 11.28 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.00186/0.00186, allocations: 60.81 kB / 0.6135 GB, free: 8.703 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.162, allocations: 85.86 MB / 0.6973 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001804/0.1638, allocations: 0.5712 MB / 0.6979 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004759/0.1643, allocations: 203.6 kB / 0.6981 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.169e-05/0.1643, allocations: 0 / 0.6981 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.1643, allocations: 0 / 0.6981 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-06/0.1643, allocations: 0 / 0.6981 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.1647, allocations: 59.81 kB / 0.6981 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.417e-05/0.1647, allocations: 4 kB / 0.6981 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.189e-05/0.1648, allocations: 4 kB / 0.6981 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.304e-05/0.1648, allocations: 0 / 0.6981 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.041e-05/0.1648, allocations: 3.938 kB / 0.6981 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.031e-06/0.1648, allocations: 0 / 0.6981 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.165, allocations: 63.88 kB / 0.6982 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.165, allocations: 3.984 kB / 0.6982 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.485e-05/0.165, allocations: 0 / 0.6982 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.1651, allocations: 36.17 kB / 0.6982 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1651, allocations: 0 / 0.6982 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1651, allocations: 0 / 0.6982 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.1651, allocations: 4 kB / 0.6982 GB, free: 1.973 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.000353/0.1655, allocations: 323.5 kB / 0.6985 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1655, allocations: 9.109 kB / 0.6985 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.1656, allocations: 30.75 kB / 0.6986 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.1656, allocations: 0.9375 kB / 0.6986 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.1657, allocations: 160.4 kB / 0.6987 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1657, allocations: 8.359 kB / 0.6987 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.1657, allocations: 384 / 0.6987 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.847e-05/0.1658, allocations: 38.25 kB / 0.6988 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1658, allocations: 3.938 kB / 0.6988 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1658, allocations: 0 / 0.6988 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1658, allocations: 0 / 0.6988 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.909e-05/0.1658, allocations: 4 kB / 0.6988 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.166, allocations: 145.6 kB / 0.6989 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.459e-05/0.166, allocations: 18.61 kB / 0.6989 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.1661, allocations: 8.859 kB / 0.6989 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000826/0.1669, allocations: 461.5 kB / 0.6994 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.1669, allocations: 30.56 kB / 0.6994 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1669, allocations: 0 / 0.6994 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.1671, allocations: 53.52 kB / 0.6995 GB, free: 444 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1671, allocations: 55.53 kB / 0.6995 GB, free: 376 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.953e-05/0.1672, allocations: 89.86 kB / 0.6996 GB, free: 276 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1672, allocations: 25.7 kB / 0.6996 GB, free: 244 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.1672, allocations: 84.12 kB / 0.6997 GB, free: 156 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.1672, allocations: 3.938 kB / 0.6997 GB, free: 152 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.1673, allocations: 13.72 kB / 0.6997 GB, free: 132 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1674, allocations: 310.8 kB / 0.7 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.1674, allocations: 0 / 0.7 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.1674, allocations: 4 kB / 0.7 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.1675, allocations: 12.86 kB / 0.7 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1675, allocations: 0 / 0.7 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.595e-05/0.1675, allocations: 37.62 kB / 0.7001 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1675, allocations: 8 kB / 0.7001 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1676, allocations: 3.938 kB / 0.7001 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1676, allocations: 0 / 0.7001 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.699e-05/0.1676, allocations: 0 / 0.7001 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1676, allocations: 0 / 0.7001 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.886e-06/0.1676, allocations: 4.094 kB / 0.7001 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.1676, allocations: 4 kB / 0.7001 GB, free: 15.73 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 7.659e-05/0.1677, allocations: 105.8 kB / 0.7002 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.1677, allocations: 0 / 0.7002 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.1678, allocations: 44.75 kB / 0.7002 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1678, allocations: 0 / 0.7002 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1678, allocations: 0 / 0.7002 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1678, allocations: 3.938 kB / 0.7002 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.1679, allocations: 153.7 kB / 0.7004 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1679, allocations: 4 kB / 0.7004 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.1679, allocations: 0 / 0.7004 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1679, allocations: 0 / 0.7004 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1679, allocations: 7.938 kB / 0.7004 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1679, allocations: 0 / 0.7004 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1679, allocations: 0 / 0.7004 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.899e-05/0.168, allocations: 57.08 kB / 0.7005 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.168, allocations: 85.12 kB / 0.7005 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1681, allocations: 7.938 kB / 0.7005 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-06/0.1681, allocations: 0 / 0.7005 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-06/0.1681, allocations: 0 / 0.7005 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.1681, allocations: 0 / 0.7005 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.1681, allocations: 75.28 kB / 0.7006 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1681, allocations: 0 / 0.7006 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000207/0.1683, allocations: 15.94 kB / 0.7006 GB, free: 15.08 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.0004889/0.1688, allocations: 0.6201 MB / 0.7012 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.148e-05/0.1689, allocations: 12 kB / 0.7012 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1689, allocations: 4.094 kB / 0.7013 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-06/0.1689, allocations: 7.875 kB / 0.7013 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.169, allocations: 4.375 kB / 0.7013 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.1693, allocations: 102.7 kB / 0.7014 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1697, allocations: 0.6766 MB / 0.702 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.043e-05/0.1697, allocations: 0 / 0.702 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.1697, allocations: 7.438 kB / 0.702 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1697, allocations: 0 / 0.702 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.1934, allocations: 1.137 MB / 0.7031 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.011, allocations: 9.797 kB / 0.7031 GB, free: 12.5 MB / 0.5294 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 & 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: 11.55945848900592] Failed to read output from testmodel.py, exit status != 0: 8.075389666002593 8.100239391 7.930327439 Calling exit ...