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.001692/0.001692, 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.001618/0.001618, 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.5/1.5, 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.8459/0.8459, allocations: 134 MB / 447.2 MB, free: 9.93 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.001989/0.001989, allocations: 63.02 kB / 0.6193 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1636, allocations: 85.91 MB / 0.7032 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001771/0.1654, allocations: 0.5914 MB / 0.7037 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005063/0.1659, allocations: 179.8 kB / 0.7039 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.256e-05/0.1659, allocations: 0 / 0.7039 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.1659, allocations: 4 kB / 0.7039 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.1659, allocations: 0 / 0.7039 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.1663, allocations: 51.84 kB / 0.704 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.508e-05/0.1663, allocations: 3.984 kB / 0.704 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.1664, allocations: 7.984 kB / 0.704 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.1664, allocations: 3.938 kB / 0.704 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.039e-05/0.1664, allocations: 0 / 0.704 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.1664, allocations: 0 / 0.704 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.1666, allocations: 55.95 kB / 0.704 GB, free: 184 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.1666, allocations: 7.984 kB / 0.704 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.1666, allocations: 0 / 0.704 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1667, allocations: 40.05 kB / 0.7041 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1667, allocations: 0 / 0.7041 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1667, allocations: 0 / 0.7041 GB, free: 136 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.1667, allocations: 0 / 0.7041 GB, free: 136 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.0003233/0.1671, allocations: 246.4 kB / 0.7043 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1671, allocations: 12.03 kB / 0.7043 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.211e-05/0.1671, allocations: 192 / 0.7043 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.906e-05/0.1672, allocations: 30.75 kB / 0.7044 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.1672, allocations: 0.9375 kB / 0.7044 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.381e-05/0.1673, allocations: 110.5 kB / 0.7045 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1673, allocations: 384 / 0.7045 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1673, allocations: 4.375 kB / 0.7045 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.1674, allocations: 30.02 kB / 0.7045 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1674, allocations: 0 / 0.7045 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.1674, allocations: 0 / 0.7045 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1674, allocations: 0 / 0.7045 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.1674, allocations: 7.938 kB / 0.7045 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.1676, allocations: 116.8 kB / 0.7046 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.598e-05/0.1676, allocations: 18.61 kB / 0.7046 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.1676, allocations: 12.84 kB / 0.7047 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/0.1682, allocations: 75.98 kB / 0.7047 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1683, allocations: 38.5 kB / 0.7048 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1683, allocations: 0 / 0.7048 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001273/0.1684, allocations: 49.64 kB / 0.7048 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1684, allocations: 55.41 kB / 0.7049 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.238e-05/0.1685, allocations: 89.86 kB / 0.7049 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1685, allocations: 25.7 kB / 0.705 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.1685, allocations: 80.14 kB / 0.705 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.1686, allocations: 0 / 0.705 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.1686, allocations: 13.72 kB / 0.7051 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1687, allocations: 310.8 kB / 0.7054 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.1687, allocations: 0 / 0.7054 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.1688, allocations: 4 kB / 0.7054 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.696e-05/0.1688, allocations: 8.922 kB / 0.7054 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1688, allocations: 8 kB / 0.7054 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.46e-05/0.1688, allocations: 41.56 kB / 0.7054 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1689, allocations: 7.938 kB / 0.7054 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1689, allocations: 0 / 0.7054 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1689, allocations: 0 / 0.7054 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.771e-05/0.1689, allocations: 4 kB / 0.7054 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1689, allocations: 0 / 0.7054 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-06/0.1689, allocations: 0 / 0.7054 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.1689, allocations: 0 / 0.7054 GB, free: 14.56 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.454e-05/0.169, allocations: 114.5 kB / 0.7055 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.169, allocations: 7.922 kB / 0.7055 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.772e-05/0.1691, allocations: 44.62 kB / 0.7056 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1691, allocations: 0 / 0.7056 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1691, allocations: 0 / 0.7056 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1691, allocations: 4 kB / 0.7056 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.1692, allocations: 120.8 kB / 0.7057 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1692, allocations: 0 / 0.7057 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-06/0.1692, allocations: 0 / 0.7057 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.1692, allocations: 3.938 kB / 0.7057 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.1692, allocations: 0 / 0.7057 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1692, allocations: 4.031 kB / 0.7057 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1692, allocations: 0 / 0.7057 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.577e-05/0.1693, allocations: 57.14 kB / 0.7058 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.1693, allocations: 3.984 kB / 0.7058 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1693, allocations: 7.938 kB / 0.7058 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.1693, allocations: 0 / 0.7058 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.1693, allocations: 3.938 kB / 0.7058 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.1693, allocations: 0 / 0.7058 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.1694, allocations: 75.28 kB / 0.7059 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1694, allocations: 0 / 0.7059 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001899/0.1696, allocations: 19.97 kB / 0.7059 GB, free: 14.03 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.0004374/0.17, allocations: 0.6162 MB / 0.7065 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.763e-05/0.1701, allocations: 8 kB / 0.7065 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1701, allocations: 0 / 0.7065 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.534e-06/0.1701, allocations: 8.031 kB / 0.7065 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.1702, allocations: 6.594 kB / 0.7065 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.1705, allocations: 102.7 kB / 0.7066 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.83e-05/0.1705, allocations: 63.2 kB / 0.7067 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.016e-05/0.1705, allocations: 0 / 0.7067 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/0.1706, allocations: 7.438 kB / 0.7067 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of SimCode: time 3.6e-07/0.1706, allocations: 0 / 0.7067 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.1911, allocations: 1.311 MB / 0.7079 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.33, allocations: 5.703 kB / 0.7079 GB, free: 11.96 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: 15.007014468079433] Failed to read output from testmodel.py, exit status != 0: 11.486960520967841 11.516264755 11.344530497 Calling exit ...