Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001417/0.001417, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.001671/0.001671, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.575/1.575, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8697/0.8697, allocations: 133.9 MB / 443.5 MB, free: 14.24 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.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.002035/0.002035, allocations: 65.5 kB / 0.6141 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.141, allocations: 85.86 MB / 0.698 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001847/0.1429, allocations: 0.5731 MB / 0.6985 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005089/0.1434, allocations: 193 kB / 0.6987 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.18e-05/0.1434, allocations: 1.094 kB / 0.6987 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.1434, allocations: 0 / 0.6987 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.1434, allocations: 0 / 0.6987 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1438, allocations: 50.38 kB / 0.6988 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.947e-05/0.1438, allocations: 3.984 kB / 0.6988 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.1439, allocations: 13.83 kB / 0.6988 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.238e-05/0.1439, allocations: 0 / 0.6988 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.952e-05/0.1439, allocations: 1.719 kB / 0.6988 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.613e-06/0.1439, allocations: 4 kB / 0.6988 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.1441, allocations: 53.23 kB / 0.6989 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.1441, allocations: 0 / 0.6989 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.389e-05/0.1441, allocations: 1.781 kB / 0.6989 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.1442, allocations: 34.69 kB / 0.6989 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1442, allocations: 1.781 kB / 0.6989 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1442, allocations: 0 / 0.6989 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1442, allocations: 0 / 0.6989 GB, free: 13.01 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.0003366/0.1446, allocations: 318.9 kB / 0.6992 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1446, allocations: 11.77 kB / 0.6992 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.544e-05/0.1446, allocations: 4.188 kB / 0.6992 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.1446, allocations: 34.75 kB / 0.6992 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.1447, allocations: 2.531 kB / 0.6992 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1448, allocations: 168.4 kB / 0.6994 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1448, allocations: 384 / 0.6994 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.1448, allocations: 1.719 kB / 0.6994 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.97e-05/0.1449, allocations: 35.33 kB / 0.6994 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1449, allocations: 0 / 0.6994 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.1449, allocations: 9.188 kB / 0.6994 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1449, allocations: 4 kB / 0.6995 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.524e-05/0.1449, allocations: 1.344 kB / 0.6995 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.145, allocations: 151 kB / 0.6996 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.853e-05/0.1451, allocations: 15.95 kB / 0.6996 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.1451, allocations: 9.969 kB / 0.6996 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006866/0.1458, allocations: 451.7 kB / 0.7001 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.1458, allocations: 43.5 kB / 0.7001 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1458, allocations: 0 / 0.7001 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001504/0.146, allocations: 34.69 kB / 0.7001 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.146, allocations: 51.41 kB / 0.7002 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.969e-05/0.1461, allocations: 91.58 kB / 0.7003 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1461, allocations: 29.83 kB / 0.7003 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.1461, allocations: 80.14 kB / 0.7004 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.1462, allocations: 0 / 0.7004 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.1462, allocations: 12.94 kB / 0.7004 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1463, allocations: 314.8 kB / 0.7007 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.1463, allocations: 1.562 kB / 0.7007 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.1463, allocations: 0 / 0.7007 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.1464, allocations: 12.36 kB / 0.7007 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1464, allocations: 4 kB / 0.7007 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.269e-05/0.1464, allocations: 35.44 kB / 0.7007 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1464, allocations: 9.875 kB / 0.7007 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1464, allocations: 0 / 0.7007 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1464, allocations: 0 / 0.7007 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.73e-05/0.1465, allocations: 3.812 kB / 0.7007 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1465, allocations: 0 / 0.7007 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-06/0.1465, allocations: 0 / 0.7007 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.1465, allocations: 0 / 0.7007 GB, free: 10.88 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 8.425e-05/0.1466, allocations: 114.5 kB / 0.7009 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-06/0.1466, allocations: 3.938 kB / 0.7009 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.1467, allocations: 42.25 kB / 0.7009 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1467, allocations: 0 / 0.7009 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1467, allocations: 0 / 0.7009 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1467, allocations: 5.375 kB / 0.7009 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.1468, allocations: 145.7 kB / 0.701 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1468, allocations: 5.312 kB / 0.701 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.104e-05/0.1468, allocations: 1.375 kB / 0.7011 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1468, allocations: 7.969 kB / 0.7011 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.1468, allocations: 1.375 kB / 0.7011 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1468, allocations: 0 / 0.7011 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1468, allocations: 0 / 0.7011 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.699e-05/0.1469, allocations: 62.52 kB / 0.7011 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.147, allocations: 82.47 kB / 0.7012 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.147, allocations: 3.938 kB / 0.7012 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.147, allocations: 1.375 kB / 0.7012 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.147, allocations: 8.016 kB / 0.7012 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.147, allocations: 1.375 kB / 0.7012 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.365e-05/0.147, allocations: 75.28 kB / 0.7013 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.147, allocations: 0 / 0.7013 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002077/0.1472, allocations: 18.94 kB / 0.7013 GB, free: 10.24 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.0004806/0.1477, allocations: 0.6186 MB / 0.7019 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.922e-05/0.1478, allocations: 8.062 kB / 0.7019 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1478, allocations: 0 / 0.7019 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.452e-06/0.1478, allocations: 2.75 kB / 0.7019 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.1479, allocations: 1.5 kB / 0.7019 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.1482, allocations: 112.5 kB / 0.702 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.1485, allocations: 0.678 MB / 0.7027 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.678e-06/0.1485, allocations: 0 / 0.7027 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.477e-05/0.1485, allocations: 8.812 kB / 0.7027 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1485, allocations: 0 / 0.7027 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.1647, allocations: 1.176 MB / 0.7038 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.344, allocations: 18.41 kB / 0.7039 GB, free: 8.098 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.134880608995445] Failed to read output from testmodel.py, exit status != 0: 8.729396417969838 8.486736096 8.338374082 Calling exit ...