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.001072/0.001072, 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.001263/0.001263, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9221/0.9221, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.7226/0.7226, allocations: 154.5 MB / 413.7 MB, free: 0.8281 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.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.279e-05, allocations: 8.688 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002138/0.002161, allocations: 1.46 MB / 0.6195 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005092/0.00267, allocations: 243.2 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.002708, allocations: 0 / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.002743, allocations: 3.938 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/0.002794, allocations: 4 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.003211, allocations: 55.77 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.334e-05/0.003284, allocations: 23.92 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.003387, allocations: 11.98 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.003441, allocations: 15.92 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.15e-05/0.003473, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.003485, allocations: 4 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.003604, allocations: 59.88 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.003619, allocations: 4 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.003637, allocations: 7.922 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.003778, allocations: 63.84 kB / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.003781, allocations: 0 / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.783e-06/0.003783, allocations: 0 / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.003787, allocations: 0 / 0.62 GB, free: 11.79 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.00038/0.004167, allocations: 266.3 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.004212, allocations: 13.47 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.004241, allocations: 30.75 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.004265, allocations: 4.891 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.004348, allocations: 117.7 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.004358, allocations: 384 / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.004366, allocations: 384 / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.004566, allocations: 54.17 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.004574, allocations: 192 / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.004585, allocations: 8.359 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.004592, allocations: 4.125 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.343e-05/0.004685, allocations: 35.91 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.005015, allocations: 216 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.449e-05/0.005109, allocations: 34.56 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.005155, allocations: 24.89 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/0.00559, allocations: 79.86 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.005618, allocations: 34.5 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.005619, allocations: 3.938 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002831/0.005903, allocations: 89.69 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.005941, allocations: 51.41 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.006023, allocations: 105.8 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.006036, allocations: 25.7 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.00608, allocations: 80.14 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.006104, allocations: 3.953 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.006142, allocations: 17.72 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.006243, allocations: 314.8 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.032e-05/0.006293, allocations: 19.92 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-05/0.006333, allocations: 20.02 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.207e-05/0.006415, allocations: 36.83 kB / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.006418, allocations: 0 / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001188/0.006537, allocations: 65.59 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.006557, allocations: 8 kB / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.006563, allocations: 0 / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.006578, allocations: 4.094 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.006649, allocations: 7.984 kB / 0.6217 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.006659, allocations: 4 kB / 0.6217 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.006683, allocations: 3.984 kB / 0.6217 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.006692, allocations: 11.94 kB / 0.6217 GB, free: 9.832 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 7.29e-05/0.006765, allocations: 106.8 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.00679, allocations: 7.938 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.006957, allocations: 76.97 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.006961, allocations: 0 / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.006966, allocations: 0 / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.006971, allocations: 0 / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.007098, allocations: 124.8 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.0071, allocations: 0 / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-05/0.007132, allocations: 11.98 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.007134, allocations: 7.875 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.007142, allocations: 0 / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.007145, allocations: 4 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007147, allocations: 32 / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.007302, allocations: 167.4 kB / 0.6222 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.007311, allocations: 7.938 kB / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.007322, allocations: 0 / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.605e-05/0.007359, allocations: 7.984 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.007397, allocations: 8 kB / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.007401, allocations: 0 / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3e-05/0.007431, allocations: 83.27 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007431, allocations: 0 / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001714/0.007602, allocations: 23.91 kB / 0.6223 GB, free: 9.129 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.0004518/0.008054, allocations: 0.7123 MB / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.008187, allocations: 40 kB / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.008189, allocations: 0 / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.892e-05/0.008228, allocations: 19.98 kB / 0.623 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.008414, allocations: 3.25 kB / 0.623 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.00881, allocations: 134.6 kB / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.716e-05/0.008857, allocations: 55.69 kB / 0.6232 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.008882, allocations: 12.05 kB / 0.6232 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.008919, allocations: 16.5 kB / 0.6232 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.00892, allocations: 0 / 0.6232 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.027, allocations: 2.182 MB / 0.6254 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.851/6.878, allocations: 7.5 kB / 0.6254 GB, free: 6.004 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.566655286587775] Failed to read output from testmodel.py, exit status != 0: 6.960823612287641 6.975242639 6.969483162 Calling exit ...