Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.001497/0.001497, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001831/0.001831, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 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.9604/0.9604, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.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-535:34: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-535:42: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.8028/0.8028, allocations: 154.9 MB / 415.9 MB, free: 260 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5219 GB, free: 1.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.581e-05, allocations: 2.969 kB / 0.5219 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002058/0.002074, allocations: 1.481 MB / 0.5233 GB, free: 16 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004947/0.002569, allocations: 235.1 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.002603, allocations: 0.625 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.002634, allocations: 7.922 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.064e-05/0.002685, allocations: 7.344 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.003052, allocations: 63.69 kB / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.003124, allocations: 23.92 kB / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.003225, allocations: 4 kB / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.118e-05/0.003296, allocations: 13.52 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.003334, allocations: 4 kB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.003346, allocations: 0 / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.003512, allocations: 67.8 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.003534, allocations: 5.281 kB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.003556, allocations: 4 kB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.003725, allocations: 55.91 kB / 0.5238 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.003731, allocations: 0 / 0.5238 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.744e-06/0.003732, allocations: 0.625 kB / 0.5238 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.003737, allocations: 0.7188 kB / 0.5238 GB, free: 15.54 MB / 0.4948 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.0004256/0.004163, allocations: 368.5 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.004211, allocations: 9.406 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.004248, allocations: 12.89 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.004351, allocations: 108.6 kB / 0.5243 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.004363, allocations: 1.406 kB / 0.5243 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.004371, allocations: 8.359 kB / 0.5243 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.004493, allocations: 54.89 kB / 0.5244 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.004502, allocations: 3.75 kB / 0.5244 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.004509, allocations: 384 / 0.5244 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.004515, allocations: 384 / 0.5244 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.179e-05/0.004537, allocations: 7.938 kB / 0.5244 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.004773, allocations: 232.5 kB / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.716e-05/0.00482, allocations: 31 kB / 0.5246 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.562e-05/0.004836, allocations: 11.75 kB / 0.5246 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000271/0.005107, allocations: 69.58 kB / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.005132, allocations: 33.39 kB / 0.5247 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.005134, allocations: 4.969 kB / 0.5247 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001528/0.005287, allocations: 47.05 kB / 0.5248 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.005319, allocations: 51.41 kB / 0.5248 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.005401, allocations: 157.9 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.005413, allocations: 25.7 kB / 0.525 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.00546, allocations: 139.5 kB / 0.5251 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.005482, allocations: 11.89 kB / 0.5251 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.005514, allocations: 19.92 kB / 0.5252 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.005666, allocations: 498.1 kB / 0.5256 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.005683, allocations: 0 / 0.5256 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.005694, allocations: 0 / 0.5256 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.005726, allocations: 11.69 kB / 0.5256 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.00573, allocations: 0 / 0.5256 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.568e-05/0.005805, allocations: 42.22 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.005828, allocations: 8.719 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.005836, allocations: 0.5625 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.00585, allocations: 3.938 kB / 0.5257 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.005921, allocations: 9.844 kB / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.005926, allocations: 0 / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.005948, allocations: 11.92 kB / 0.5257 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.005953, allocations: 0 / 0.5257 GB, free: 13.4 MB / 0.4948 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 9.427e-05/0.006047, allocations: 155.3 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.006064, allocations: 4 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.00618, allocations: 41 kB / 0.5259 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.006185, allocations: 7.938 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.00619, allocations: 4 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.006194, allocations: 0 / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.006307, allocations: 97.25 kB / 0.526 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.006309, allocations: 1.75 kB / 0.526 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.006341, allocations: 4 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.006343, allocations: 0 / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.006348, allocations: 0 / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.006353, allocations: 3.938 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.006355, allocations: 0.9375 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.006474, allocations: 200.6 kB / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.006482, allocations: 0 / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.00649, allocations: 0 / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.921e-05/0.00652, allocations: 4.844 kB / 0.5262 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.006556, allocations: 4.578 kB / 0.5262 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.006564, allocations: 11.92 kB / 0.5262 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.49e-05/0.006609, allocations: 122.2 kB / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006609, allocations: 0 / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001686/0.006778, allocations: 23.94 kB / 0.5264 GB, free: 12.68 MB / 0.4948 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.0001957/0.006973, allocations: 114.4 kB / 0.5265 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.462e-05/0.007058, allocations: 15.62 kB / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.00706, allocations: 0 / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.785e-05/0.007077, allocations: 15.67 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.007257, allocations: 7.719 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.007489, allocations: 112.1 kB / 0.5266 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.845e-05/0.007527, allocations: 59.3 kB / 0.5267 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.007544, allocations: 0 / 0.5267 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.007593, allocations: 70.2 kB / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of SimCode: time 1.322e-06/0.007594, allocations: 3.094 kB / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.002782/0.01038, allocations: 0.779 MB / 0.5275 GB, free: 11.48 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.823175571858883]