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.0006296/0.0006296, allocations: 100.4 kB / 19.71 MB, free: 444 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.0007522/0.0007522, allocations: 210.4 kB / 23 MB, free: 2.973 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.9273/0.9273, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7508/0.7508, allocations: 203.8 MB / 0.5049 GB, free: 10.4 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.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: 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.0009091/0.0009091, allocations: 72.41 kB / 0.7194 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4569, allocations: 102 MB / 0.819 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001754/0.4587, allocations: 1.453 MB / 0.8204 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003883/0.4591, allocations: 235.7 kB / 0.8207 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.4591, allocations: 0 / 0.8207 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.4591, allocations: 4.734 kB / 0.8207 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.695e-05/0.4592, allocations: 11.48 kB / 0.8207 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.4595, allocations: 55.94 kB / 0.8207 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.999e-05/0.4596, allocations: 23.77 kB / 0.8207 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.4596, allocations: 7.422 kB / 0.8208 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.4597, allocations: 15.91 kB / 0.8208 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.293e-05/0.4597, allocations: 6.688 kB / 0.8208 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.4597, allocations: 2.125 kB / 0.8208 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.4598, allocations: 57.69 kB / 0.8208 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.4598, allocations: 5.219 kB / 0.8208 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.4599, allocations: 9.688 kB / 0.8208 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.46, allocations: 57.53 kB / 0.8209 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.46, allocations: 0.875 kB / 0.8209 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.46, allocations: 0 / 0.8209 GB, free: 88 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.46, allocations: 0 / 0.8209 GB, free: 88 kB / 0.6042 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.0003369/0.4603, allocations: 271.4 kB / 0.8212 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.4604, allocations: 9.844 kB / 0.8212 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.4604, allocations: 2.938 kB / 0.8212 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.655e-05/0.4605, allocations: 113.8 kB / 0.8213 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.4605, allocations: 384 / 0.8213 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.4605, allocations: 6.25 kB / 0.8213 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.4606, allocations: 51.92 kB / 0.8213 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.4606, allocations: 192 / 0.8213 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4606, allocations: 8.734 kB / 0.8213 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.4606, allocations: 0 / 0.8213 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.904e-05/0.4607, allocations: 32.7 kB / 0.8214 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002514/0.461, allocations: 190.7 kB / 0.8216 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.874e-05/0.4611, allocations: 33.7 kB / 0.8216 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.4611, allocations: 29.02 kB / 0.8216 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000342/0.4614, allocations: 77.72 kB / 0.8217 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.4615, allocations: 32.83 kB / 0.8217 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.4615, allocations: 0 / 0.8217 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000231/0.4617, allocations: 88.2 kB / 0.8218 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.4617, allocations: 54.59 kB / 0.8219 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.581e-05/0.4618, allocations: 95.12 kB / 0.8219 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.4618, allocations: 30.44 kB / 0.822 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.4618, allocations: 85.73 kB / 0.8221 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.4618, allocations: 9.547 kB / 0.8221 GB, free: 15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.4619, allocations: 15.3 kB / 0.8221 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.4619, allocations: 316.3 kB / 0.8224 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.462, allocations: 17.33 kB / 0.8224 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.462, allocations: 17.95 kB / 0.8224 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.341e-05/0.4621, allocations: 37.67 kB / 0.8225 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4621, allocations: 0 / 0.8225 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000108/0.4622, allocations: 75.83 kB / 0.8225 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.4622, allocations: 11.12 kB / 0.8225 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4622, allocations: 6.25 kB / 0.8225 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4622, allocations: 0 / 0.8225 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.4623, allocations: 9.312 kB / 0.8226 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4623, allocations: 0.6094 kB / 0.8226 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.4623, allocations: 10.14 kB / 0.8226 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.4623, allocations: 0 / 0.8226 GB, free: 14.59 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 (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.139e-05/0.4624, allocations: 115.7 kB / 0.8227 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.4624, allocations: 3.938 kB / 0.8227 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.4625, allocations: 79.66 kB / 0.8228 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4625, allocations: 0 / 0.8228 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4625, allocations: 0 / 0.8228 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4625, allocations: 4 kB / 0.8228 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.163e-05/0.4626, allocations: 104.3 kB / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4626, allocations: 1.25 kB / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.4626, allocations: 11.06 kB / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4626, allocations: 3.938 kB / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.4626, allocations: 32 / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.4626, allocations: 4 kB / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4626, allocations: 0 / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.4628, allocations: 161.5 kB / 0.823 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-06/0.4628, allocations: 7.891 kB / 0.823 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.4628, allocations: 3.625 kB / 0.823 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.353e-05/0.4628, allocations: 3.719 kB / 0.823 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.4628, allocations: 4.156 kB / 0.823 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.4628, allocations: 0 / 0.823 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.435e-05/0.4629, allocations: 97.86 kB / 0.8231 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4629, allocations: 0 / 0.8231 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001595/0.463, allocations: 18.31 kB / 0.8232 GB, free: 14.05 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 (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.0001292/0.4632, allocations: 113 kB / 0.8233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.4633, allocations: 35 kB / 0.8233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.4633, allocations: 0 / 0.8233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.4633, allocations: 20.31 kB / 0.8233 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.4635, allocations: 5.188 kB / 0.8233 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002283/0.4637, allocations: 134 kB / 0.8235 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.821e-05/0.4638, allocations: 60.67 kB / 0.8235 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.4638, allocations: 9.094 kB / 0.8235 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.4638, allocations: 4.125 kB / 0.8235 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.00182/0.4656, allocations: 0.7783 MB / 0.8243 GB, free: 13.67 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4996905834414065] Failed to read output from testmodel.py, exit status != 0: 0.47050910210236907 0.479654968 0.017832084 Calling exit ...