Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.00106/0.00106, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001367/0.001367, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9141/0.9141, allocations: 177.1 MB / 202.8 MB, free: 5.738 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-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.7221/0.7221, allocations: 154.5 MB / 413.7 MB, free: 0.8086 MB / 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.883e-05, allocations: 8.781 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001431/0.00146, allocations: 0.6012 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003683/0.001828, allocations: 171.4 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.444e-05/0.001843, allocations: 0 / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.001859, allocations: 0 / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-06/0.001866, allocations: 0 / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.002251, allocations: 47.78 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.727e-05/0.002299, allocations: 7.938 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.955e-05/0.002368, allocations: 7.984 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.51e-05/0.002403, allocations: 3.984 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.036e-05/0.002424, allocations: 0 / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.002433, allocations: 0 / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.002583, allocations: 51.95 kB / 0.619 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.002594, allocations: 0 / 0.619 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.285e-05/0.002607, allocations: 0 / 0.619 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.002724, allocations: 43.92 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.002727, allocations: 4 kB / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.002729, allocations: 0 / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.002733, allocations: 0 / 0.619 GB, free: 12.74 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002375/0.002971, allocations: 246.3 kB / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.003014, allocations: 17.41 kB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.705e-05/0.003041, allocations: 34.69 kB / 0.6193 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.003066, allocations: 0.9375 kB / 0.6193 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.76e-05/0.003124, allocations: 101.8 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.003134, allocations: 384 / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.003141, allocations: 4.375 kB / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.206e-05/0.003223, allocations: 30.27 kB / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.003231, allocations: 192 / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.003238, allocations: 384 / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.003245, allocations: 4.125 kB / 0.6194 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.003265, allocations: 11.98 kB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.003382, allocations: 116.8 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.272e-05/0.003425, allocations: 22.55 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.003441, allocations: 8.859 kB / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004876/0.003929, allocations: 67.98 kB / 0.6196 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.003952, allocations: 38.56 kB / 0.6197 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.003953, allocations: 0 / 0.6197 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001916/0.004145, allocations: 37.69 kB / 0.6197 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.004176, allocations: 63.22 kB / 0.6198 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.613e-05/0.004202, allocations: 89.86 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.004213, allocations: 25.7 kB / 0.6199 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.004234, allocations: 84.14 kB / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.004264, allocations: 0 / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.004294, allocations: 9.719 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.004376, allocations: 314.8 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.004387, allocations: 4.125 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-06/0.004392, allocations: 4 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.00442, allocations: 12.84 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004422, allocations: 0 / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.324e-05/0.004465, allocations: 29.7 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.004479, allocations: 7.938 kB / 0.6203 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.004485, allocations: 0 / 0.6203 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.004497, allocations: 4 kB / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.804e-05/0.004545, allocations: 0 / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.004552, allocations: 3.938 kB / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-06/0.004562, allocations: 4.094 kB / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.004567, allocations: 3.938 kB / 0.6203 GB, free: 11.17 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 (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 6.047e-05/0.004628, allocations: 114.8 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-06/0.004633, allocations: 4 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.004703, allocations: 32.7 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.004705, allocations: 0 / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.004712, allocations: 3.938 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004714, allocations: 0 / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.149e-05/0.004786, allocations: 124.7 kB / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.004787, allocations: 0 / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.224e-05/0.004799, allocations: 8.031 kB / 0.6206 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.0048, allocations: 0 / 0.6206 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.004807, allocations: 4 kB / 0.6206 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.004809, allocations: 3.938 kB / 0.6206 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.004811, allocations: 3.938 kB / 0.6206 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.14e-05/0.004862, allocations: 61.12 kB / 0.6207 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-06/0.004867, allocations: 4 kB / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.004877, allocations: 0 / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.687e-06/0.004881, allocations: 0 / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.004894, allocations: 3.938 kB / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.004896, allocations: 4.031 kB / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.427e-05/0.00492, allocations: 75.28 kB / 0.6208 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.00492, allocations: 4 kB / 0.6208 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001473/0.005067, allocations: 11.94 kB / 0.6208 GB, free: 10.64 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 (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.0003626/0.00543, allocations: 0.6085 MB / 0.6214 GB, free: 10 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.158e-05/0.005502, allocations: 11.97 kB / 0.6214 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.005504, allocations: 0 / 0.6214 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-06/0.005508, allocations: 4 kB / 0.6214 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.005618, allocations: 7.938 kB / 0.6214 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.005892, allocations: 110.6 kB / 0.6215 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.617e-05/0.005928, allocations: 55.3 kB / 0.6216 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.061e-05/0.005939, allocations: 0 / 0.6216 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.005959, allocations: 12.5 kB / 0.6216 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/0.005961, allocations: 0 / 0.6216 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.02404, allocations: 1.786 MB / 0.6233 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/6.847, allocations: 14.22 kB / 0.6233 GB, free: 8.078 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.541694614104927] Failed to read output from testmodel.py, exit status != 0: 6.928079482167959 6.938641751 6.93372133 Calling exit ...