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.001712/0.001712, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002012/0.002012, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.8597/0.8597, allocations: 134 MB / 447.2 MB, free: 9.965 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="cs",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.002007/0.002007, allocations: 61.09 kB / 0.6192 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1716, allocations: 85.91 MB / 0.7031 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002999/0.1746, allocations: 1.445 MB / 0.7046 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006152/0.1752, allocations: 244 kB / 0.7048 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.1753, allocations: 4 kB / 0.7048 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.1753, allocations: 3.938 kB / 0.7048 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.1754, allocations: 3.938 kB / 0.7048 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.1758, allocations: 59.83 kB / 0.7049 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.1758, allocations: 15.98 kB / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.1759, allocations: 8 kB / 0.7049 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.176, allocations: 19.91 kB / 0.7049 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.777e-05/0.176, allocations: 4 kB / 0.7049 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.176, allocations: 3.938 kB / 0.7049 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.1762, allocations: 67.88 kB / 0.705 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.1762, allocations: 4 kB / 0.705 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.1762, allocations: 0 / 0.705 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1764, allocations: 64.06 kB / 0.705 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1764, allocations: 0 / 0.705 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1764, allocations: 3.938 kB / 0.705 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.1764, allocations: 0 / 0.705 GB, free: 15.12 MB / 0.5294 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.0004717/0.1769, allocations: 274.2 kB / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1769, allocations: 8.031 kB / 0.7053 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.714e-05/0.177, allocations: 4.188 kB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.177, allocations: 34.75 kB / 0.7053 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.177, allocations: 0.9375 kB / 0.7053 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1772, allocations: 110.5 kB / 0.7054 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.1772, allocations: 384 / 0.7054 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.1772, allocations: 4.375 kB / 0.7055 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1774, allocations: 49.98 kB / 0.7055 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1774, allocations: 7.984 kB / 0.7055 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1774, allocations: 7.938 kB / 0.7055 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1774, allocations: 0 / 0.7055 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.1775, allocations: 39.89 kB / 0.7056 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.1779, allocations: 216 kB / 0.7058 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.178, allocations: 30.56 kB / 0.7058 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.765e-05/0.1781, allocations: 24.91 kB / 0.7058 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006311/0.1787, allocations: 87.91 kB / 0.7059 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1788, allocations: 30.56 kB / 0.7059 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.1788, allocations: 0 / 0.7059 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003444/0.1791, allocations: 93.52 kB / 0.706 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1792, allocations: 51.41 kB / 0.7061 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.152e-05/0.1792, allocations: 105.8 kB / 0.7062 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1793, allocations: 25.7 kB / 0.7062 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.1793, allocations: 80.14 kB / 0.7063 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.1793, allocations: 3.953 kB / 0.7063 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.1794, allocations: 13.72 kB / 0.7063 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.1796, allocations: 314.8 kB / 0.7066 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/0.1797, allocations: 19.97 kB / 0.7066 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.1797, allocations: 20.11 kB / 0.7066 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1799, allocations: 44.7 kB / 0.7067 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1799, allocations: 0 / 0.7067 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001883/0.1801, allocations: 65.61 kB / 0.7067 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1801, allocations: 8 kB / 0.7067 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1801, allocations: 4.094 kB / 0.7067 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.1801, allocations: 0 / 0.7067 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.1802, allocations: 7.984 kB / 0.7067 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1802, allocations: 4 kB / 0.7067 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.1802, allocations: 4 kB / 0.7068 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1803, allocations: 0 / 0.7068 GB, free: 13.16 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 8.695e-05/0.1803, allocations: 117.8 kB / 0.7069 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.1804, allocations: 4 kB / 0.7069 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.1806, allocations: 72.91 kB / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1806, allocations: 0 / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1806, allocations: 0 / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1806, allocations: 0 / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1808, allocations: 136.7 kB / 0.7071 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1808, allocations: 3.938 kB / 0.7071 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.1808, allocations: 7.984 kB / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1808, allocations: 0 / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.1809, allocations: 4 kB / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1809, allocations: 4 kB / 0.7071 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1809, allocations: 4.031 kB / 0.7071 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.1811, allocations: 167.4 kB / 0.7073 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.1811, allocations: 7.891 kB / 0.7073 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1811, allocations: 0 / 0.7073 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.1812, allocations: 7.984 kB / 0.7073 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.1813, allocations: 8 kB / 0.7073 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1813, allocations: 0 / 0.7073 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.63e-05/0.1813, allocations: 79.47 kB / 0.7073 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1813, allocations: 4.031 kB / 0.7074 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002391/0.1815, allocations: 15.98 kB / 0.7074 GB, free: 12.46 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.0007071/0.1823, allocations: 0.7084 MB / 0.7081 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.1825, allocations: 43.92 kB / 0.7081 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1825, allocations: 0 / 0.7081 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.265e-05/0.1826, allocations: 19.98 kB / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.1828, allocations: 0 / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.1832, allocations: 143.2 kB / 0.7083 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6e-05/0.1833, allocations: 59.36 kB / 0.7083 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.047e-05/0.1833, allocations: 4.125 kB / 0.7083 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.1834, allocations: 23.41 kB / 0.7083 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.1834, allocations: 0 / 0.7083 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.2041, allocations: 1.693 MB / 0.71 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.36, allocations: 9.875 kB / 0.71 GB, free: 9.812 MB / 0.5294 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 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: 15.050190026988275] Failed to read output from testmodel.py, exit status != 0: 11.523045715061016 11.553810635 11.371872975 Calling exit ...