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.001267/0.001267, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001393/0.001393, allocations: 215 kB / 20.13 MB, free: 2.949 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.88/0.88, allocations: 133.9 MB / 443.5 MB, free: 13.9 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.002013/0.002013, allocations: 66.67 kB / 0.6141 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1569, allocations: 85.86 MB / 0.698 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001825/0.1588, allocations: 0.5744 MB / 0.6986 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005004/0.1593, allocations: 195.4 kB / 0.6987 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.202e-05/0.1593, allocations: 1.219 kB / 0.6987 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.1593, allocations: 0 / 0.6987 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.1593, allocations: 0 / 0.6987 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.1597, allocations: 62.47 kB / 0.6988 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.157e-05/0.1597, allocations: 1.312 kB / 0.6988 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.1598, allocations: 9.312 kB / 0.6988 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.276e-05/0.1598, allocations: 0 / 0.6988 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.903e-05/0.1598, allocations: 0 / 0.6988 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.543e-06/0.1598, allocations: 1.125 kB / 0.6988 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.16, allocations: 62.12 kB / 0.6989 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.154e-06/0.16, allocations: 1.094 kB / 0.6989 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.16, allocations: 3.984 kB / 0.6989 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1602, allocations: 32.81 kB / 0.6989 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.1602, allocations: 4 kB / 0.6989 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1602, allocations: 4 kB / 0.6989 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.1602, allocations: 0 / 0.6989 GB, free: 13.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003701/0.1605, allocations: 317 kB / 0.6992 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1606, allocations: 15.92 kB / 0.6992 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.538e-05/0.1606, allocations: 192 / 0.6992 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.891e-05/0.1606, allocations: 31.91 kB / 0.6993 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.203e-05/0.1607, allocations: 0.9375 kB / 0.6993 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1608, allocations: 164.3 kB / 0.6994 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1608, allocations: 1.562 kB / 0.6994 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.1608, allocations: 5.562 kB / 0.6994 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.213e-05/0.1609, allocations: 39.09 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1609, allocations: 0 / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.1609, allocations: 5.031 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1609, allocations: 0 / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.69e-05/0.1609, allocations: 1.438 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.1611, allocations: 147.1 kB / 0.6996 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.35e-05/0.1611, allocations: 23.92 kB / 0.6996 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.1612, allocations: 6.203 kB / 0.6996 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008262/0.162, allocations: 458.6 kB / 0.7001 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.162, allocations: 35.69 kB / 0.7001 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.162, allocations: 4 kB / 0.7001 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001488/0.1622, allocations: 34.47 kB / 0.7001 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.1622, allocations: 59.34 kB / 0.7002 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.318e-05/0.1623, allocations: 91.08 kB / 0.7003 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1623, allocations: 25.7 kB / 0.7003 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.1623, allocations: 80.14 kB / 0.7004 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.1623, allocations: 1.438 kB / 0.7004 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.1624, allocations: 10.72 kB / 0.7004 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1625, allocations: 316.2 kB / 0.7007 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.1625, allocations: 1.531 kB / 0.7007 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.1625, allocations: 0 / 0.7007 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.606e-05/0.1626, allocations: 15.25 kB / 0.7007 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1626, allocations: 1.375 kB / 0.7007 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.545e-05/0.1626, allocations: 30.8 kB / 0.7007 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1626, allocations: 8.344 kB / 0.7008 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1626, allocations: 1.594 kB / 0.7008 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1626, allocations: 8.031 kB / 0.7008 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.19e-05/0.1627, allocations: 1.719 kB / 0.7008 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1627, allocations: 0 / 0.7008 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.097e-06/0.1627, allocations: 0 / 0.7008 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1627, allocations: 1.219 kB / 0.7008 GB, free: 10.97 MB / 0.5137 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.207e-05/0.1628, allocations: 107.9 kB / 0.7009 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.1628, allocations: 7.922 kB / 0.7009 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.376e-05/0.1629, allocations: 36.92 kB / 0.7009 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1629, allocations: 5.5 kB / 0.7009 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1629, allocations: 3.938 kB / 0.7009 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1629, allocations: 0 / 0.7009 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.163, allocations: 155.2 kB / 0.7011 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.163, allocations: 3.938 kB / 0.7011 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.19e-05/0.163, allocations: 1.5 kB / 0.7011 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.163, allocations: 5.906 kB / 0.7011 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.163, allocations: 3.984 kB / 0.7011 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.163, allocations: 3.938 kB / 0.7011 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.163, allocations: 0 / 0.7011 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.988e-05/0.1631, allocations: 63.53 kB / 0.7012 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.1631, allocations: 77.11 kB / 0.7012 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.1631, allocations: 5.875 kB / 0.7012 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-06/0.1631, allocations: 0 / 0.7012 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.1632, allocations: 0 / 0.7012 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.1632, allocations: 1.906 kB / 0.7012 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.97e-05/0.1632, allocations: 75.28 kB / 0.7013 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1632, allocations: 0 / 0.7013 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001909/0.1634, allocations: 19.5 kB / 0.7013 GB, free: 10.33 MB / 0.5137 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.0004949/0.1639, allocations: 0.6182 MB / 0.7019 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.276e-05/0.164, allocations: 8.375 kB / 0.7019 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.164, allocations: 0 / 0.7019 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.726e-06/0.164, allocations: 5.375 kB / 0.7019 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.1641, allocations: 2.844 kB / 0.7019 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.1644, allocations: 105.2 kB / 0.702 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1647, allocations: 0.6778 MB / 0.7027 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.829e-06/0.1647, allocations: 0 / 0.7027 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.1647, allocations: 13.09 kB / 0.7027 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of SimCode: time 3.8e-07/0.1647, allocations: 0 / 0.7027 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.1822, allocations: 1.176 MB / 0.7039 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/8.488, allocations: 22.53 kB / 0.7039 GB, free: 8.184 MB / 0.5137 GB " [Timeout remaining time 651] (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: 12.214885729015805] Failed to read output from testmodel.py, exit status != 0: 8.884986063989345 8.638471466 8.473611307 Calling exit ...