Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.0009091/0.0009091, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0008982/0.0008982, allocations: 219.6 kB / 22.26 MB, free: 3.691 MB / 13.93 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.02/1.02, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7774/0.7774, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",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.0008844/0.0008844, allocations: 66.2 kB / 0.7182 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4829/0.4837, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.00204/0.4858, allocations: 1.455 MB / 0.8193 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004805/0.4863, allocations: 272.3 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.4863, allocations: 1.406 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.4863, allocations: 0.8906 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.178e-05/0.4864, allocations: 3.938 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.4867, allocations: 59.78 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.844e-05/0.4868, allocations: 24.41 kB / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.4869, allocations: 9.438 kB / 0.8196 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.663e-05/0.487, allocations: 14.48 kB / 0.8197 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.487, allocations: 10.88 kB / 0.8197 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.487, allocations: 1.062 kB / 0.8197 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.4872, allocations: 69.64 kB / 0.8197 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.4872, allocations: 0 / 0.8197 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.4874, allocations: 11.75 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.4876, allocations: 52.86 kB / 0.8198 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4876, allocations: 0 / 0.8198 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4876, allocations: 0 / 0.8198 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.4876, allocations: 0 / 0.8198 GB, free: 15.98 MB / 0.6198 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.0003647/0.4879, allocations: 274.5 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.488, allocations: 9.875 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.488, allocations: 34.75 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.488, allocations: 2.656 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.461e-05/0.4881, allocations: 111.4 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4881, allocations: 384 / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.4881, allocations: 2.5 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.4883, allocations: 53.78 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.4883, allocations: 7.938 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.4883, allocations: 0 / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4883, allocations: 3.984 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.263e-05/0.4884, allocations: 35.58 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.4886, allocations: 221.8 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.906e-05/0.4887, allocations: 45.61 kB / 0.8206 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.4888, allocations: 22.44 kB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003714/0.4891, allocations: 75.22 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.4892, allocations: 39.47 kB / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4892, allocations: 0 / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002282/0.4894, allocations: 82.14 kB / 0.8208 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.4894, allocations: 51.92 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.392e-05/0.4895, allocations: 96.22 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.4895, allocations: 29.64 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.4895, allocations: 92.31 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.4896, allocations: 4.656 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.4896, allocations: 11.33 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4897, allocations: 319 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-05/0.4897, allocations: 11.44 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.4898, allocations: 18.69 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.145e-05/0.4899, allocations: 42.44 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4899, allocations: 7.875 kB / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000117/0.49, allocations: 66.5 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.49, allocations: 7.656 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.49, allocations: 0 / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.49, allocations: 2.094 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/0.4901, allocations: 15.23 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4901, allocations: 1.922 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.4901, allocations: 5.078 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.4901, allocations: 2.016 kB / 0.8215 GB, free: 14.4 MB / 0.6198 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 6.334e-05/0.4902, allocations: 121.1 kB / 0.8216 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.4902, allocations: 0 / 0.8216 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.4903, allocations: 80.05 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4903, allocations: 0.6562 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4903, allocations: 0 / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4903, allocations: 1.281 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.4905, allocations: 132.2 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4905, allocations: 0.5156 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.4905, allocations: 7.141 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4905, allocations: 1 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.4905, allocations: 4.734 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.4905, allocations: 1.688 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4905, allocations: 4.031 kB / 0.8219 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.4906, allocations: 162 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.4907, allocations: 9.766 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.4907, allocations: 1.891 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.4907, allocations: 8.234 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.4907, allocations: 9.344 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.4907, allocations: 0.6094 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.4908, allocations: 84.48 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4908, allocations: 0 / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001591/0.4909, allocations: 18.42 kB / 0.8221 GB, free: 13.82 MB / 0.6198 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.0003945/0.4913, allocations: 0.7071 MB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.4915, allocations: 34.88 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4915, allocations: 96 / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.4915, allocations: 25.52 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.4917, allocations: 2.031 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.492, allocations: 147 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.4922, allocations: 0.6787 MB / 0.8237 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.687e-05/0.4922, allocations: 0 / 0.8237 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.4922, allocations: 12.09 kB / 0.8237 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.4922, allocations: 4.062 kB / 0.8237 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.5078, allocations: 1.623 MB / 0.8253 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.616/7.123, allocations: 7.375 kB / 0.8253 GB, free: 11.84 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.044896862935275] Failed to read output from testmodel.py, exit status != 0: 7.199065449880436 7.21092233 6.72110588 Calling exit ...