Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008305/0.0008305, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0009592/0.0009592, allocations: 203.2 kB / 23 MB, free: 3.113 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.9122/0.9122, allocations: 230.6 MB / 256.8 MB, free: 3.48 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.7547/0.7547, allocations: 203.8 MB / 0.5049 GB, free: 0.7422 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") [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.0008576/0.0008576, allocations: 67.89 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4252, allocations: 102 MB / 0.8191 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001788/0.427, allocations: 1.452 MB / 0.8205 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0004082/0.4274, allocations: 264.6 kB / 0.8208 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.4274, allocations: 0.5625 kB / 0.8208 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.4274, allocations: 0.5625 kB / 0.8208 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.856e-05/0.4275, allocations: 4.938 kB / 0.8208 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.4278, allocations: 55.72 kB / 0.8208 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.876e-05/0.4278, allocations: 23.92 kB / 0.8208 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.828e-05/0.4279, allocations: 3.969 kB / 0.8208 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.428, allocations: 14.2 kB / 0.8209 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.247e-05/0.428, allocations: 9 kB / 0.8209 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.428, allocations: 2.844 kB / 0.8209 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.4281, allocations: 68.09 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.4281, allocations: 6.828 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.4282, allocations: 10.8 kB / 0.821 GB, free: 23.97 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.4283, allocations: 57.38 kB / 0.821 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4283, allocations: 1.969 kB / 0.821 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4283, allocations: 0.5625 kB / 0.821 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4283, allocations: 0 / 0.821 GB, free: 23.95 MB / 0.6355 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.0002839/0.4286, allocations: 275.6 kB / 0.8213 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4286, allocations: 10.88 kB / 0.8213 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.4286, allocations: 7.094 kB / 0.8213 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.498e-05/0.4287, allocations: 111.5 kB / 0.8214 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.4287, allocations: 1.188 kB / 0.8214 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.4287, allocations: 2.531 kB / 0.8214 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.4288, allocations: 56.42 kB / 0.8215 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.4288, allocations: 1.062 kB / 0.8215 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.4288, allocations: 5.547 kB / 0.8215 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4288, allocations: 2.562 kB / 0.8215 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.709e-05/0.4289, allocations: 31.52 kB / 0.8215 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.4291, allocations: 215.7 kB / 0.8217 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.194e-05/0.4292, allocations: 41.06 kB / 0.8217 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.4293, allocations: 27.59 kB / 0.8218 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/0.4296, allocations: 77.41 kB / 0.8218 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.4296, allocations: 35.5 kB / 0.8219 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.4296, allocations: 3.938 kB / 0.8219 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002046/0.4298, allocations: 76.19 kB / 0.8219 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.74e-05/0.4298, allocations: 56.94 kB / 0.822 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.774e-05/0.4298, allocations: 96.33 kB / 0.8221 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-06/0.4299, allocations: 26.52 kB / 0.8221 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.809e-05/0.4299, allocations: 92.5 kB / 0.8222 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.4299, allocations: 10.73 kB / 0.8222 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.4299, allocations: 11.64 kB / 0.8222 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.396e-05/0.4299, allocations: 317 kB / 0.8225 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.43, allocations: 18.69 kB / 0.8225 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.43, allocations: 19.33 kB / 0.8226 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.017e-05/0.4301, allocations: 39.97 kB / 0.8226 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4301, allocations: 1 kB / 0.8226 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.837e-05/0.4302, allocations: 66.97 kB / 0.8227 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.4302, allocations: 5.422 kB / 0.8227 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4302, allocations: 1 kB / 0.8227 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.4302, allocations: 4.219 kB / 0.8227 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.03e-05/0.4303, allocations: 9.922 kB / 0.8227 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.4303, allocations: 0 / 0.8227 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.4303, allocations: 9.969 kB / 0.8227 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.4303, allocations: 1.094 kB / 0.8227 GB, free: 22.44 MB / 0.6355 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 2.875e-05/0.4303, allocations: 112.9 kB / 0.8228 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.4303, allocations: 6.094 kB / 0.8228 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.4304, allocations: 74.75 kB / 0.8229 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.4304, allocations: 1.062 kB / 0.8229 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4305, allocations: 0.7969 kB / 0.8229 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4305, allocations: 3.938 kB / 0.8229 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.166e-05/0.4305, allocations: 132.2 kB / 0.823 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.4305, allocations: 0 / 0.823 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.4306, allocations: 9.562 kB / 0.823 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.4306, allocations: 0 / 0.823 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.4306, allocations: 1.219 kB / 0.823 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.4306, allocations: 4.031 kB / 0.823 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4306, allocations: 0.9688 kB / 0.823 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.952e-05/0.4307, allocations: 174.9 kB / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-06/0.4307, allocations: 1.344 kB / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-06/0.4307, allocations: 6.078 kB / 0.8232 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.431e-05/0.4307, allocations: 9.578 kB / 0.8232 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.4307, allocations: 6 kB / 0.8232 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.4307, allocations: 5.156 kB / 0.8232 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.341e-05/0.4308, allocations: 83.67 kB / 0.8233 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4308, allocations: 0.5938 kB / 0.8233 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001504/0.4309, allocations: 17.77 kB / 0.8233 GB, free: 21.86 MB / 0.6355 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.0001184/0.431, allocations: 115.2 kB / 0.8234 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.4311, allocations: 38.42 kB / 0.8235 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4311, allocations: 1.125 kB / 0.8235 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.4312, allocations: 19.02 kB / 0.8235 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.4313, allocations: 7.078 kB / 0.8235 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001856/0.4315, allocations: 133.7 kB / 0.8236 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.987e-05/0.4316, allocations: 0.6754 MB / 0.8243 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.4316, allocations: 8.5 kB / 0.8243 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of SimCode: time 6.72e-07/0.4316, allocations: 0 / 0.8243 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.001848/0.4334, allocations: 0.7766 MB / 0.825 GB, free: 20.86 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.515486377058551] Failed to read output from testmodel.py, exit status != 0: 0.4382458620239049 0.446017701 0.01606907 Calling exit ...