Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001877/0.001877, allocations: 85.48 kB / 19.44 MB, free: 344 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.002195/0.002195, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 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 1.706/1.706, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.315/1.315, allocations: 154.6 MB / 414.2 MB, free: 0.6406 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 1.094 kB / 0.5197 GB, free: 2.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.623e-05/3.861e-05, allocations: 3.734 kB / 0.5197 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.003124/0.003162, allocations: 0.5934 MB / 0.5203 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.004191, allocations: 186 kB / 0.5204 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.004211, allocations: 0 / 0.5204 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.00423, allocations: 1.75 kB / 0.5204 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.967e-06/0.004239, allocations: 0 / 0.5204 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.004888, allocations: 55.75 kB / 0.5205 GB, free: 1.699 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.53e-05/0.004943, allocations: 0 / 0.5205 GB, free: 1.699 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.004996, allocations: 4.562 kB / 0.5205 GB, free: 1.695 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/0.005038, allocations: 0 / 0.5205 GB, free: 1.695 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.005081, allocations: 0.5 kB / 0.5205 GB, free: 1.695 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.005094, allocations: 1.031 kB / 0.5205 GB, free: 1.695 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.00539, allocations: 63.86 kB / 0.5206 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.005404, allocations: 0 / 0.5206 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.005424, allocations: 0.9688 kB / 0.5206 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.005656, allocations: 51.86 kB / 0.5206 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.005662, allocations: 0.625 kB / 0.5206 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.005664, allocations: 0 / 0.5206 GB, free: 1.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.00567, allocations: 1.312 kB / 0.5206 GB, free: 1.582 MB / 490.7 MB 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.0006098/0.00628, allocations: 344.3 kB / 0.5209 GB, free: 1.207 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.00634, allocations: 12.03 kB / 0.521 GB, free: 1.195 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.006396, allocations: 0.9375 kB / 0.521 GB, free: 1.195 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.00656, allocations: 105.2 kB / 0.5211 GB, free: 1.066 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.006579, allocations: 1.875 kB / 0.5211 GB, free: 1.066 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.006595, allocations: 4.375 kB / 0.5211 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.006735, allocations: 30.27 kB / 0.5211 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.006747, allocations: 192 / 0.5211 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.006759, allocations: 1 kB / 0.5211 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006765, allocations: 384 / 0.5211 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.307e-05/0.006808, allocations: 13.25 kB / 0.5211 GB, free: 1.016 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.00704, allocations: 112.6 kB / 0.5212 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.685e-05/0.007137, allocations: 27.09 kB / 0.5212 GB, free: 0.832 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.007172, allocations: 8.438 kB / 0.5212 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000987/0.008159, allocations: 74.48 kB / 0.5213 GB, free: 0.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.765e-05/0.008226, allocations: 41.38 kB / 0.5214 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.008228, allocations: 0 / 0.5214 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002461/0.008474, allocations: 40.17 kB / 0.5214 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.008548, allocations: 51.41 kB / 0.5214 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.008679, allocations: 142.2 kB / 0.5216 GB, free: 452 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.008712, allocations: 25.7 kB / 0.5216 GB, free: 420 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.008826, allocations: 130.9 kB / 0.5217 GB, free: 284 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.008866, allocations: 3.938 kB / 0.5217 GB, free: 280 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.008923, allocations: 16.94 kB / 0.5217 GB, free: 256 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004355/0.009359, allocations: 496.1 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.009382, allocations: 8 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.009402, allocations: 5.016 kB / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/0.00945, allocations: 11.69 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.009452, allocations: 1.188 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000111/0.009563, allocations: 37.62 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.009584, allocations: 4 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.009597, allocations: 4.562 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.009616, allocations: 1.031 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.055e-05/0.009667, allocations: 0 / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.009673, allocations: 0 / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.009693, allocations: 4.688 kB / 0.5223 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.009699, allocations: 0 / 0.5223 GB, free: 15.67 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 (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.0001754/0.009874, allocations: 163.3 kB / 0.5224 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.009892, allocations: 4 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.01002, allocations: 36.64 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01002, allocations: 0 / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.01003, allocations: 0 / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.01004, allocations: 4 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.01021, allocations: 112.6 kB / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.01021, allocations: 2.906 kB / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.718e-05/0.01023, allocations: 0 / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01023, allocations: 0 / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.01024, allocations: 4 kB / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01024, allocations: 0 / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.01025, allocations: 3.984 kB / 0.5226 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.01041, allocations: 76.38 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.01043, allocations: 5.422 kB / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.01044, allocations: 0 / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.799e-05/0.01046, allocations: 4 kB / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.01048, allocations: 0 / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.01049, allocations: 8.438 kB / 0.5227 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001003/0.01059, allocations: 122.5 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.01059, allocations: 0 / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003815/0.01097, allocations: 15.88 kB / 0.5228 GB, free: 15.06 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 (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.0003642/0.01133, allocations: 119.2 kB / 0.5229 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.01146, allocations: 18.16 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01146, allocations: 0 / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.824e-05/0.01149, allocations: 7.688 kB / 0.523 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.01172, allocations: 0 / 0.523 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.01205, allocations: 84.06 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.039e-05/0.01214, allocations: 56.36 kB / 0.5231 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.338e-05/0.01215, allocations: 0 / 0.5231 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.01218, allocations: 9.531 kB / 0.5231 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.01218, allocations: 3.938 kB / 0.5231 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.004991/0.01717, allocations: 437 kB / 0.5235 GB, free: 14.29 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.092253373935819]