Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007658/0.0007658, allocations: 96.38 kB / 19.7 MB, free: 452 kB / 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.000827/0.000827, allocations: 212.7 kB / 23 MB, free: 2.988 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.9067/0.9067, allocations: 230.6 MB / 256.8 MB, free: 9.617 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.7605/0.7605, allocations: 203.8 MB / 0.5049 GB, free: 10.45 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") [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.0009039/0.0009039, allocations: 69.36 kB / 0.7194 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5149/0.5158, allocations: 102 MB / 0.8191 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001619/0.5175, allocations: 0.591 MB / 0.8196 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004916/0.5179, allocations: 153.9 kB / 0.8198 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.518, allocations: 0 / 0.8198 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.518, allocations: 0 / 0.8198 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.117e-06/0.518, allocations: 11.88 kB / 0.8198 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.5184, allocations: 60.5 kB / 0.8198 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.546e-05/0.5185, allocations: 4.938 kB / 0.8198 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.5185, allocations: 5.891 kB / 0.8199 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.686e-05/0.5185, allocations: 5.656 kB / 0.8199 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.207e-05/0.5185, allocations: 0 / 0.8199 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.693e-06/0.5185, allocations: 0 / 0.8199 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.5187, allocations: 56.78 kB / 0.8199 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.5187, allocations: 0.7031 kB / 0.8199 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.424e-05/0.5187, allocations: 0 / 0.8199 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.5188, allocations: 34.72 kB / 0.8199 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5188, allocations: 4.656 kB / 0.82 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5188, allocations: 3.656 kB / 0.82 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.5189, allocations: 0 / 0.82 GB, free: 0.8008 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.0002054/0.5191, allocations: 244.1 kB / 0.8202 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.5191, allocations: 10 kB / 0.8202 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.5191, allocations: 0.9375 kB / 0.8202 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.364e-05/0.5192, allocations: 108.1 kB / 0.8203 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.5192, allocations: 1.375 kB / 0.8203 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.5192, allocations: 384 / 0.8203 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.085e-05/0.5193, allocations: 33.53 kB / 0.8203 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5193, allocations: 4.938 kB / 0.8203 GB, free: 380 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.5193, allocations: 3.938 kB / 0.8203 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5193, allocations: 2.062 kB / 0.8203 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.765e-05/0.5193, allocations: 4.547 kB / 0.8204 GB, free: 372 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.059e-05/0.5194, allocations: 100.6 kB / 0.8204 GB, free: 244 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.202e-05/0.5194, allocations: 17.67 kB / 0.8205 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.158e-05/0.5194, allocations: 4.859 kB / 0.8205 GB, free: 212 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004383/0.5199, allocations: 79.5 kB / 0.8205 GB, free: 200 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.5199, allocations: 35.92 kB / 0.8206 GB, free: 156 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.5199, allocations: 1.125 kB / 0.8206 GB, free: 156 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001434/0.52, allocations: 42.67 kB / 0.8206 GB, free: 112 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.52, allocations: 59.61 kB / 0.8207 GB, free: 44 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.694e-05/0.5201, allocations: 89.86 kB / 0.8208 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.5201, allocations: 26.31 kB / 0.8208 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.5201, allocations: 80.14 kB / 0.8209 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.5201, allocations: 128 / 0.8209 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.5202, allocations: 17.48 kB / 0.8209 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.166e-05/0.5203, allocations: 311.5 kB / 0.8212 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.5203, allocations: 0.6094 kB / 0.8212 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-06/0.5203, allocations: 1 kB / 0.8212 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.321e-05/0.5203, allocations: 15.98 kB / 0.8212 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5203, allocations: 0 / 0.8212 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.834e-05/0.5203, allocations: 36.64 kB / 0.8212 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5203, allocations: 8.578 kB / 0.8212 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5204, allocations: 0 / 0.8212 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5204, allocations: 5.312 kB / 0.8212 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.5204, allocations: 5.688 kB / 0.8212 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.5204, allocations: 0 / 0.8212 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-06/0.5204, allocations: 1.953 kB / 0.8212 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.5204, allocations: 0 / 0.8212 GB, free: 15.44 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 0.0001301/0.5206, allocations: 110.5 kB / 0.8214 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-06/0.5206, allocations: 0 / 0.8214 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.974e-05/0.5206, allocations: 42.86 kB / 0.8214 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5206, allocations: 11.86 kB / 0.8214 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5206, allocations: 0 / 0.8214 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5206, allocations: 12.16 kB / 0.8214 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.948e-05/0.5207, allocations: 93.94 kB / 0.8215 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5207, allocations: 0.5625 kB / 0.8215 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-06/0.5207, allocations: 0 / 0.8215 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.5207, allocations: 1.828 kB / 0.8215 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.5207, allocations: 0 / 0.8215 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5207, allocations: 4.438 kB / 0.8215 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.5207, allocations: 3.938 kB / 0.8215 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.614e-05/0.5208, allocations: 55 kB / 0.8216 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-06/0.5208, allocations: 4.391 kB / 0.8216 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.5208, allocations: 4.031 kB / 0.8216 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-06/0.5208, allocations: 0.5625 kB / 0.8216 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.5208, allocations: 4.781 kB / 0.8216 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.5208, allocations: 4 kB / 0.8216 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.981e-05/0.5208, allocations: 81.05 kB / 0.8217 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5208, allocations: 0 / 0.8217 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000137/0.5209, allocations: 12.89 kB / 0.8217 GB, free: 14.98 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.0001574/0.5211, allocations: 116.3 kB / 0.8218 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.257e-05/0.5212, allocations: 4.688 kB / 0.8218 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5212, allocations: 0 / 0.8218 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-06/0.5212, allocations: 6.094 kB / 0.8218 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.333e-05/0.5213, allocations: 2.766 kB / 0.8218 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001691/0.5214, allocations: 103.3 kB / 0.8219 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.227e-05/0.5215, allocations: 55.83 kB / 0.822 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.5215, allocations: 7.438 kB / 0.822 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.5215, allocations: 4.125 kB / 0.822 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of Templates: time 0.001598/0.5231, allocations: 0.5493 MB / 0.8225 GB, free: 14.65 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.725263811182231] Failed to read output from testmodel.py, exit status != 0: 0.5282436697743833 0.5384324180000001 0.017598996000000002 Calling exit ...