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.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.001337/0.001337, allocations: 104 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.001419/0.001419, 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.8427/0.8427, allocations: 134 MB / 442.8 MB, free: 11.3 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.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: 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.001999/0.001999, allocations: 62.31 kB / 0.6134 GB, free: 8.754 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1702, allocations: 85.86 MB / 0.6973 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002915/0.1731, allocations: 1.448 MB / 0.6987 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005999/0.1737, allocations: 256.5 kB / 0.6989 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.1737, allocations: 0 / 0.6989 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.1738, allocations: 0 / 0.6989 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.516e-05/0.1738, allocations: 3.938 kB / 0.6989 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.1742, allocations: 69.88 kB / 0.699 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.653e-05/0.1743, allocations: 19.92 kB / 0.699 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.1744, allocations: 15.98 kB / 0.699 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.957e-05/0.1744, allocations: 4 kB / 0.699 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.873e-05/0.1744, allocations: 11.92 kB / 0.699 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.1744, allocations: 4 kB / 0.6991 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1746, allocations: 63.88 kB / 0.6991 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.1746, allocations: 0 / 0.6991 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.1746, allocations: 15.92 kB / 0.6991 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1748, allocations: 56.08 kB / 0.6992 GB, free: 1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1748, allocations: 0 / 0.6992 GB, free: 1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1748, allocations: 0 / 0.6992 GB, free: 1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.1748, allocations: 0 / 0.6992 GB, free: 1 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005036/0.1753, allocations: 351.3 kB / 0.6995 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1753, allocations: 13.11 kB / 0.6995 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.1754, allocations: 30.75 kB / 0.6996 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.1754, allocations: 0.9375 kB / 0.6996 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.1756, allocations: 172.3 kB / 0.6997 GB, free: 356 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1756, allocations: 4.375 kB / 0.6997 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.1756, allocations: 384 / 0.6997 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1758, allocations: 54.23 kB / 0.6998 GB, free: 292 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1758, allocations: 3.938 kB / 0.6998 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1758, allocations: 0 / 0.6998 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1758, allocations: 4 kB / 0.6998 GB, free: 284 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.176, allocations: 35.95 kB / 0.6998 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.1763, allocations: 241 kB / 0.7 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.1765, allocations: 50.42 kB / 0.7001 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/0.1765, allocations: 20.91 kB / 0.7001 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007643/0.1773, allocations: 453.5 kB / 0.7006 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1773, allocations: 42.56 kB / 0.7006 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1773, allocations: 0 / 0.7006 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003591/0.1777, allocations: 81.52 kB / 0.7007 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1777, allocations: 55.41 kB / 0.7007 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.1778, allocations: 97.86 kB / 0.7008 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1778, allocations: 25.83 kB / 0.7008 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.1779, allocations: 88.12 kB / 0.7009 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.1779, allocations: 7.953 kB / 0.7009 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.1779, allocations: 13.72 kB / 0.7009 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1781, allocations: 310.8 kB / 0.7012 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.1782, allocations: 19.98 kB / 0.7013 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.1782, allocations: 19.91 kB / 0.7013 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1784, allocations: 40.89 kB / 0.7013 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1784, allocations: 3.938 kB / 0.7013 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002058/0.1786, allocations: 73.55 kB / 0.7014 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1786, allocations: 8 kB / 0.7014 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1786, allocations: 0 / 0.7014 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1786, allocations: 0 / 0.7014 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.1787, allocations: 12.02 kB / 0.7014 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1787, allocations: 4 kB / 0.7014 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.1788, allocations: 0 / 0.7014 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1788, allocations: 4 kB / 0.7014 GB, free: 14.38 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 (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.675e-05/0.1788, allocations: 113.8 kB / 0.7015 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.1789, allocations: 0 / 0.7015 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.1791, allocations: 76.78 kB / 0.7016 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1791, allocations: 0 / 0.7016 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1791, allocations: 0 / 0.7016 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1791, allocations: 3.938 kB / 0.7016 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1793, allocations: 157.6 kB / 0.7018 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1793, allocations: 0 / 0.7018 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.1793, allocations: 12.17 kB / 0.7018 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1793, allocations: 0 / 0.7018 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1793, allocations: 0 / 0.7018 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1793, allocations: 0 / 0.7018 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1794, allocations: 8.016 kB / 0.7018 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1796, allocations: 163.5 kB / 0.7019 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.1796, allocations: 81.06 kB / 0.702 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1797, allocations: 11.98 kB / 0.702 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.1797, allocations: 4 kB / 0.702 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.1798, allocations: 4.031 kB / 0.702 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1798, allocations: 3.984 kB / 0.702 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.1798, allocations: 83.28 kB / 0.7021 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1798, allocations: 0 / 0.7021 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002366/0.1801, allocations: 15.94 kB / 0.7021 GB, free: 13.55 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 (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.0006276/0.1807, allocations: 0.7212 MB / 0.7028 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1809, allocations: 35.97 kB / 0.7029 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1809, allocations: 8.031 kB / 0.7029 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.544e-05/0.181, allocations: 23.91 kB / 0.7029 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.1812, allocations: 8 kB / 0.7029 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.1816, allocations: 131.2 kB / 0.703 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1819, allocations: 0.6805 MB / 0.7037 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.1819, allocations: 4 kB / 0.7037 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.182, allocations: 11.44 kB / 0.7037 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.182, allocations: 4.062 kB / 0.7037 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.2051, allocations: 1.502 MB / 0.7052 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.121, allocations: 4.422 kB / 0.7052 GB, free: 10.41 MB / 0.5294 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.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_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.73015090500121] Failed to read output from testmodel.py, exit status != 0: 8.186175739989267 8.20023188 8.02275827 Calling exit ...