Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.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.001645/0.001645, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001483/0.001483, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.8456/0.8456, allocations: 134 MB / 447.2 MB, free: 10.18 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.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",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.002027/0.002027, allocations: 65.42 kB / 0.6193 GB, free: 7.164 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1725, allocations: 85.9 MB / 0.7032 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002573/0.1751, allocations: 1.452 MB / 0.7046 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004868/0.1756, allocations: 248.1 kB / 0.7049 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.1756, allocations: 0 / 0.7049 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.1757, allocations: 3.938 kB / 0.7049 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.908e-05/0.1757, allocations: 11.92 kB / 0.7049 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.176, allocations: 59.81 kB / 0.7049 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.544e-05/0.1761, allocations: 19.94 kB / 0.705 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.462e-05/0.1761, allocations: 7.984 kB / 0.705 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.409e-05/0.1762, allocations: 8 kB / 0.705 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.881e-05/0.1762, allocations: 7.922 kB / 0.705 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.1762, allocations: 4 kB / 0.705 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1764, allocations: 67.88 kB / 0.7051 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.1764, allocations: 11.92 kB / 0.7051 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.1764, allocations: 11.94 kB / 0.7051 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.1765, allocations: 52.08 kB / 0.7051 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1765, allocations: 0 / 0.7051 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1765, allocations: 0 / 0.7051 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.1765, allocations: 0 / 0.7051 GB, free: 15.37 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.0004204/0.1769, allocations: 272.8 kB / 0.7054 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.177, allocations: 8.031 kB / 0.7054 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.689e-05/0.177, allocations: 8.188 kB / 0.7054 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.974e-05/0.177, allocations: 30.75 kB / 0.7054 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.097e-05/0.177, allocations: 4.938 kB / 0.7054 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1772, allocations: 118.4 kB / 0.7055 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-06/0.1772, allocations: 384 / 0.7055 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.1772, allocations: 4.375 kB / 0.7056 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1774, allocations: 53.98 kB / 0.7056 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1774, allocations: 0 / 0.7056 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.1774, allocations: 4 kB / 0.7056 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1774, allocations: 0 / 0.7056 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1775, allocations: 31.97 kB / 0.7056 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.1778, allocations: 220 kB / 0.7058 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.178, allocations: 38.5 kB / 0.7059 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.557e-05/0.178, allocations: 24.91 kB / 0.7059 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000466/0.1785, allocations: 75.91 kB / 0.706 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1785, allocations: 34.56 kB / 0.706 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 2.885e-06/0.1785, allocations: 4 kB / 0.706 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003365/0.1789, allocations: 77.59 kB / 0.7061 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.1789, allocations: 55.39 kB / 0.7061 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.179, allocations: 97.86 kB / 0.7062 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.179, allocations: 25.7 kB / 0.7063 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.179, allocations: 80.14 kB / 0.7063 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.1791, allocations: 12.08 kB / 0.7063 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.1791, allocations: 17.7 kB / 0.7064 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1792, allocations: 318.8 kB / 0.7067 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.1793, allocations: 15.98 kB / 0.7067 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.1794, allocations: 11.98 kB / 0.7067 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.1795, allocations: 48.81 kB / 0.7067 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1795, allocations: 0 / 0.7067 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/0.1797, allocations: 73.56 kB / 0.7068 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1797, allocations: 7.984 kB / 0.7068 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1797, allocations: 0 / 0.7068 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1798, allocations: 0 / 0.7068 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.1798, allocations: 8 kB / 0.7068 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1798, allocations: 3.938 kB / 0.7068 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.1799, allocations: 12.02 kB / 0.7068 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1799, allocations: 0 / 0.7068 GB, free: 13.41 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.516e-05/0.18, allocations: 109.8 kB / 0.7069 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.18, allocations: 4 kB / 0.707 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.1802, allocations: 72.95 kB / 0.707 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1802, allocations: 0 / 0.707 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1802, allocations: 4.031 kB / 0.707 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1802, allocations: 4.125 kB / 0.707 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.1804, allocations: 132.7 kB / 0.7072 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1804, allocations: 0 / 0.7072 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.1804, allocations: 7.984 kB / 0.7072 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1804, allocations: 3.984 kB / 0.7072 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-06/0.1804, allocations: 0 / 0.7072 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1804, allocations: 4 kB / 0.7072 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1804, allocations: 4 kB / 0.7072 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.1807, allocations: 167.5 kB / 0.7073 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.1807, allocations: 7.891 kB / 0.7073 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.1807, allocations: 0 / 0.7073 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.1808, allocations: 7.984 kB / 0.7073 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.1808, allocations: 0 / 0.7073 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.1808, allocations: 4 kB / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.797e-05/0.1809, allocations: 87.3 kB / 0.7074 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1809, allocations: 0 / 0.7074 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002306/0.1811, allocations: 16 kB / 0.7075 GB, free: 12.71 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.0006036/0.1817, allocations: 0.7162 MB / 0.7082 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1819, allocations: 35.95 kB / 0.7082 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1819, allocations: 0 / 0.7082 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.182, allocations: 23.92 kB / 0.7082 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.1822, allocations: 8.125 kB / 0.7082 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.1826, allocations: 143.2 kB / 0.7084 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1829, allocations: 0.6766 MB / 0.709 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.726e-05/0.1829, allocations: 0 / 0.709 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.1829, allocations: 19.42 kB / 0.709 GB, free: 11 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1829, allocations: 0 / 0.709 GB, free: 11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.2036, allocations: 1.641 MB / 0.7106 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.25, allocations: 8.047 kB / 0.7106 GB, free: 9.496 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.842709913034923] Failed to read output from testmodel.py, exit status != 0: 11.41024071292486 11.437023325 11.256185657 Calling exit ...