Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007349/0.0007349, allocations: 109.3 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.001197/0.001197, allocations: 222.2 kB / 22.26 MB, free: 3.707 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 0.9606/0.9606, allocations: 230.6 MB / 256 MB, free: 9.797 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.7854/0.7854, 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.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.001024/0.001024, allocations: 65.23 kB / 0.7183 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.5098, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001782/0.5115, allocations: 0.5993 MB / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003959/0.5119, allocations: 198.5 kB / 0.8187 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.303e-05/0.5119, allocations: 0 / 0.8187 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.512, allocations: 0 / 0.8187 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.384e-06/0.512, allocations: 0 / 0.8187 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.5124, allocations: 52.7 kB / 0.8187 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.361e-05/0.5124, allocations: 6.797 kB / 0.8187 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.5125, allocations: 8.594 kB / 0.8187 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.775e-05/0.5125, allocations: 6.453 kB / 0.8187 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.197e-05/0.5125, allocations: 0.7969 kB / 0.8188 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.214e-06/0.5125, allocations: 0 / 0.8188 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.5127, allocations: 62.23 kB / 0.8188 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.5127, allocations: 0 / 0.8188 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.5127, allocations: 0 / 0.8188 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.5128, allocations: 41.41 kB / 0.8188 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5128, allocations: 0 / 0.8188 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5128, allocations: 0 / 0.8188 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5128, allocations: 0 / 0.8188 GB, free: 0.6875 MB / 0.6042 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.0002175/0.5131, allocations: 248.8 kB / 0.8191 GB, free: 432 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5131, allocations: 10.06 kB / 0.8191 GB, free: 432 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.5131, allocations: 31.41 kB / 0.8191 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.5132, allocations: 3.156 kB / 0.8191 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.556e-05/0.5132, allocations: 103.3 kB / 0.8192 GB, free: 264 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.5132, allocations: 384 / 0.8192 GB, free: 264 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.5132, allocations: 6.219 kB / 0.8192 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.401e-05/0.5133, allocations: 28.72 kB / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.5133, allocations: 3.938 kB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.5133, allocations: 5.312 kB / 0.8193 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.5133, allocations: 3.984 kB / 0.8193 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.5133, allocations: 5.844 kB / 0.8193 GB, free: 212 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.376e-05/0.5134, allocations: 119.1 kB / 0.8194 GB, free: 52 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.133e-05/0.5135, allocations: 16.3 kB / 0.8194 GB, free: 28 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.5135, allocations: 8.219 kB / 0.8194 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004317/0.5139, allocations: 77.12 kB / 0.8195 GB, free: 12 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.5139, allocations: 34.34 kB / 0.8195 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.5139, allocations: 0 / 0.8195 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000127/0.5141, allocations: 42.45 kB / 0.8196 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.5141, allocations: 55.41 kB / 0.8196 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.807e-05/0.5141, allocations: 93.98 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.5141, allocations: 26.92 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.5142, allocations: 80.89 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.5142, allocations: 0 / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.5142, allocations: 16.12 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.5143, allocations: 314.5 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.5143, allocations: 0 / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.5143, allocations: 0 / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.5143, allocations: 19.88 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5143, allocations: 3.938 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.618e-05/0.5144, allocations: 32.94 kB / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.5144, allocations: 6.453 kB / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.5144, allocations: 3.938 kB / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.5144, allocations: 0 / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.902e-05/0.5145, allocations: 3.703 kB / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.5145, allocations: 0 / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-06/0.5145, allocations: 0 / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.5145, allocations: 6.234 kB / 0.8202 GB, free: 15.25 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 (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 5.186e-05/0.5145, allocations: 106.5 kB / 0.8203 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-06/0.5145, allocations: 0.6875 kB / 0.8203 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.5146, allocations: 52.56 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5146, allocations: 0 / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5146, allocations: 3.938 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5146, allocations: 0.75 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.315e-05/0.5147, allocations: 116 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5147, allocations: 0.5156 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-06/0.5147, allocations: 6.25 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5147, allocations: 3.656 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.5147, allocations: 3.938 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5147, allocations: 1.031 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5147, allocations: 0 / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.628e-05/0.5147, allocations: 55.45 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-06/0.5147, allocations: 3.141 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-06/0.5147, allocations: 7.969 kB / 0.8205 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-06/0.5147, allocations: 0 / 0.8205 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.5148, allocations: 4.969 kB / 0.8205 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.5148, allocations: 3.531 kB / 0.8206 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.192e-05/0.5148, allocations: 77.58 kB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5148, allocations: 0 / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001386/0.5149, allocations: 13.45 kB / 0.8206 GB, free: 14.77 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 (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.0003328/0.5153, allocations: 0.6101 MB / 0.8212 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.406e-05/0.5153, allocations: 7.297 kB / 0.8212 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5153, allocations: 7.938 kB / 0.8212 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.5153, allocations: 4.094 kB / 0.8213 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.941e-05/0.5154, allocations: 8.125 kB / 0.8213 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.5157, allocations: 107.1 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.5159, allocations: 0.6699 MB / 0.822 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.183e-05/0.5159, allocations: 4 kB / 0.822 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.5159, allocations: 11.42 kB / 0.822 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.5159, allocations: 0 / 0.822 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.5306, allocations: 1.25 MB / 0.8233 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/7.228, allocations: 10.23 kB / 0.8233 GB, free: 12.9 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.119601754005998] Failed to read output from testmodel.py, exit status != 0: 7.3066441509872675 7.32127482 6.80565553 Calling exit ...