Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008033/0.0008033, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009469/0.0009469, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8643/0.8643, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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-531:686: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-531:694: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 0.6967/0.6967, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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 179] 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.823e-05, allocations: 4.953 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002321/0.00235, allocations: 1.456 MB / 0.6208 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004642/0.002814, allocations: 243.2 kB / 0.621 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.002843, allocations: 0 / 0.621 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.002872, allocations: 3.938 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.248e-05/0.002915, allocations: 7.938 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.003251, allocations: 59.77 kB / 0.6211 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.671e-05/0.003308, allocations: 23.92 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.003386, allocations: 11.92 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/0.003429, allocations: 11.98 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.113e-05/0.003461, allocations: 7.984 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.00347, allocations: 0 / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.003576, allocations: 63.81 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.003589, allocations: 4 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.557e-05/0.003605, allocations: 4 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.003728, allocations: 63.84 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.00373, allocations: 0 / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003731, allocations: 4 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.003735, allocations: 3.938 kB / 0.6212 GB, free: 11.2 MB / 0.5886 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.0003108/0.004045, allocations: 266.3 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.004075, allocations: 8.031 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.0041, allocations: 4.891 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.582e-05/0.004165, allocations: 109.8 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.004174, allocations: 384 / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.004183, allocations: 8.359 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.00429, allocations: 50.23 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.361e-06/0.004295, allocations: 8.125 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.004303, allocations: 384 / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.004307, allocations: 384 / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.19e-05/0.004388, allocations: 35.89 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.004613, allocations: 192.6 kB / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.717e-05/0.004681, allocations: 38.56 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.004723, allocations: 24.89 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003186/0.005042, allocations: 79.86 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.00506, allocations: 34.56 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.005061, allocations: 0 / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002097/0.00527, allocations: 89.53 kB / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.005297, allocations: 55.41 kB / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.376e-05/0.005351, allocations: 101.8 kB / 0.6223 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.00536, allocations: 25.7 kB / 0.6223 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.005393, allocations: 80.14 kB / 0.6224 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.00541, allocations: 7.891 kB / 0.6224 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.005433, allocations: 17.72 kB / 0.6224 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.005508, allocations: 314.8 kB / 0.6227 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/0.005545, allocations: 20.11 kB / 0.6227 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.00558, allocations: 19.92 kB / 0.6228 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/0.005652, allocations: 40.81 kB / 0.6228 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005653, allocations: 0 / 0.6228 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.67e-05/0.00575, allocations: 65.73 kB / 0.6229 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.005762, allocations: 4 kB / 0.6229 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.005767, allocations: 7.875 kB / 0.6229 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.005782, allocations: 0 / 0.6229 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.005834, allocations: 11.98 kB / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.005839, allocations: 3.938 kB / 0.6229 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.005861, allocations: 7.984 kB / 0.6229 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.005864, allocations: 0 / 0.6229 GB, free: 9.328 MB / 0.5886 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 5.441e-05/0.005919, allocations: 114.8 kB / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.005932, allocations: 4 kB / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.006053, allocations: 76.89 kB / 0.6231 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.006055, allocations: 0 / 0.6231 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.006059, allocations: 4 kB / 0.6231 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006063, allocations: 4 kB / 0.6231 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.226e-05/0.006145, allocations: 105.3 kB / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.006145, allocations: 0 / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.006167, allocations: 7.984 kB / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.006168, allocations: 0 / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.006174, allocations: 4.031 kB / 0.6232 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.006176, allocations: 7.938 kB / 0.6232 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.006177, allocations: 0 / 0.6232 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.006295, allocations: 167.4 kB / 0.6234 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-06/0.0063, allocations: 0 / 0.6234 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.006309, allocations: 0 / 0.6234 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.006345, allocations: 11.92 kB / 0.6234 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.006377, allocations: 4 kB / 0.6234 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.006379, allocations: 4.219 kB / 0.6234 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.766e-05/0.006407, allocations: 91.25 kB / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006407, allocations: 0 / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001586/0.006565, allocations: 15.94 kB / 0.6235 GB, free: 8.656 MB / 0.5886 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.0001478/0.006713, allocations: 111.2 kB / 0.6236 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.00683, allocations: 35.97 kB / 0.6236 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006831, allocations: 0 / 0.6236 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/0.00687, allocations: 23.92 kB / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.00703, allocations: 5.875 kB / 0.6237 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002055/0.007235, allocations: 129.8 kB / 0.6238 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.834e-05/0.007274, allocations: 63.34 kB / 0.6239 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.00729, allocations: 8.625 kB / 0.6239 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.007291, allocations: 7.938 kB / 0.6239 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of Templates: time 0.001481/0.008772, allocations: 0.7905 MB / 0.6246 GB, free: 7.434 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.96876682434231] Failed to read output from testmodel.py, exit status != 0: 0.014059909619390965 0.021248466 0.015892397000000003 Calling exit ...