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.001623/0.001623, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002173/0.002173, allocations: 216 kB / 23.04 MB, free: 5.078 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.8523/0.8523, allocations: 134 MB / 447.2 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.00195/0.00195, allocations: 58.19 kB / 0.6194 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1581, allocations: 85.91 MB / 0.7032 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001876/0.1599, allocations: 0.576 MB / 0.7038 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004934/0.1604, allocations: 203.7 kB / 0.704 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.2e-05/0.1604, allocations: 0 / 0.704 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.1605, allocations: 4 kB / 0.704 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.1605, allocations: 0 / 0.704 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.1608, allocations: 51.83 kB / 0.7041 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.871e-05/0.1609, allocations: 4 kB / 0.7041 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.1609, allocations: 3.984 kB / 0.7041 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.308e-05/0.1609, allocations: 0 / 0.7041 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.972e-05/0.161, allocations: 3.938 kB / 0.7041 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.161, allocations: 0 / 0.7041 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.1611, allocations: 59.89 kB / 0.7041 GB, free: 472 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.1612, allocations: 3.984 kB / 0.7041 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.1612, allocations: 7.984 kB / 0.7041 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.1613, allocations: 36.19 kB / 0.7042 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1613, allocations: 0 / 0.7042 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1613, allocations: 0 / 0.7042 GB, free: 424 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1613, allocations: 0 / 0.7042 GB, free: 424 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.0003044/0.1616, allocations: 248.7 kB / 0.7044 GB, free: 144 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1616, allocations: 12.03 kB / 0.7044 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.355e-05/0.1617, allocations: 4.188 kB / 0.7044 GB, free: 128 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.1617, allocations: 30.75 kB / 0.7045 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.1617, allocations: 8.938 kB / 0.7045 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.276e-05/0.1618, allocations: 106.5 kB / 0.7046 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-06/0.1618, allocations: 384 / 0.7046 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.1618, allocations: 4.375 kB / 0.7046 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.005e-05/0.1619, allocations: 30.02 kB / 0.7046 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.1619, allocations: 0 / 0.7046 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-06/0.1619, allocations: 0 / 0.7046 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1619, allocations: 0 / 0.7046 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.22e-05/0.1619, allocations: 7.938 kB / 0.7046 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.1621, allocations: 120.8 kB / 0.7047 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.983e-05/0.1622, allocations: 18.61 kB / 0.7047 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.1622, allocations: 8.844 kB / 0.7047 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005842/0.1628, allocations: 83.91 kB / 0.7048 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1628, allocations: 38.5 kB / 0.7049 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1628, allocations: 0 / 0.7049 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001271/0.1629, allocations: 45.56 kB / 0.7049 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.163, allocations: 51.41 kB / 0.705 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.1631, allocations: 89.86 kB / 0.705 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1631, allocations: 33.7 kB / 0.7051 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.1631, allocations: 80.14 kB / 0.7051 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.1632, allocations: 128 / 0.7051 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.1632, allocations: 13.72 kB / 0.7052 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1634, allocations: 310.8 kB / 0.7055 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.1634, allocations: 4 kB / 0.7055 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.391e-06/0.1634, allocations: 0 / 0.7055 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.1634, allocations: 8.859 kB / 0.7055 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1634, allocations: 0 / 0.7055 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.794e-05/0.1635, allocations: 41.62 kB / 0.7055 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1635, allocations: 12.03 kB / 0.7055 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1635, allocations: 0 / 0.7055 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1635, allocations: 0 / 0.7055 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.334e-05/0.1635, allocations: 4 kB / 0.7055 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1635, allocations: 0 / 0.7055 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-06/0.1635, allocations: 0 / 0.7055 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-06/0.1635, allocations: 0 / 0.7055 GB, free: 14.83 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.311e-05/0.1636, allocations: 109.8 kB / 0.7056 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.1636, allocations: 7.922 kB / 0.7056 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.329e-05/0.1637, allocations: 40.7 kB / 0.7057 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1637, allocations: 7.875 kB / 0.7057 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1637, allocations: 0 / 0.7057 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1637, allocations: 0 / 0.7057 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.1638, allocations: 120.8 kB / 0.7058 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1638, allocations: 0 / 0.7058 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/0.1638, allocations: 0 / 0.7058 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1638, allocations: 3.938 kB / 0.7058 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.1638, allocations: 4 kB / 0.7058 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1638, allocations: 0 / 0.7058 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1638, allocations: 4.031 kB / 0.7058 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.835e-05/0.1639, allocations: 65.06 kB / 0.7059 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-06/0.1639, allocations: 0 / 0.7059 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.1639, allocations: 3.938 kB / 0.7059 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-06/0.1639, allocations: 4 kB / 0.7059 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.164, allocations: 0 / 0.7059 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.164, allocations: 0 / 0.7059 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.164, allocations: 79.31 kB / 0.706 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.164, allocations: 0 / 0.706 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000197/0.1642, allocations: 19.88 kB / 0.706 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.0005025/0.1647, allocations: 0.6124 MB / 0.7066 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.657e-05/0.1648, allocations: 4 kB / 0.7066 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1648, allocations: 0 / 0.7066 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/0.1648, allocations: 3.938 kB / 0.7066 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.1649, allocations: 4 kB / 0.7066 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.1652, allocations: 102.7 kB / 0.7067 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1655, allocations: 0.6768 MB / 0.7073 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.469e-05/0.1655, allocations: 4 kB / 0.7073 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.498e-05/0.1655, allocations: 7.438 kB / 0.7074 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1655, allocations: 0 / 0.7074 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.1885, allocations: 1.274 MB / 0.7086 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.14, allocations: 15.44 kB / 0.7086 GB, free: 11.64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 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.709142562933266] Failed to read output from testmodel.py, exit status != 0: 11.299429027014412 11.325378736 11.159361318 Calling exit ...