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.0008272/0.0008272, 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.0008456/0.0008456, 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.8784/0.8784, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7041/0.7041, allocations: 154.5 MB / 413.7 MB, free: 0.8398 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.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.86e-05, allocations: 6.062 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002317/0.002345, allocations: 1.452 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000446/0.002791, allocations: 231.2 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.002826, allocations: 0 / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.002861, allocations: 3.938 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.002908, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.003302, allocations: 67.69 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.003369, allocations: 19.92 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.003478, allocations: 11.98 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.345e-05/0.003531, allocations: 8 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.569e-05/0.003567, allocations: 7.969 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.003579, allocations: 4 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.003703, allocations: 51.95 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.00372, allocations: 11.92 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.003737, allocations: 4 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.003883, allocations: 67.78 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.003887, allocations: 0 / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.703e-06/0.003889, allocations: 0 / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.003894, allocations: 0 / 0.6199 GB, free: 11.77 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.0003928/0.004287, allocations: 262.3 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.004329, allocations: 13.47 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.864e-05/0.004358, allocations: 30.75 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.004383, allocations: 4.891 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.443e-05/0.004467, allocations: 113.8 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.004478, allocations: 8.297 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-06/0.004485, allocations: 4.375 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.004616, allocations: 50.23 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.004623, allocations: 192 / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.004631, allocations: 384 / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.004638, allocations: 8.125 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.024e-05/0.004728, allocations: 31.91 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.005022, allocations: 212.1 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.156e-05/0.005104, allocations: 38.62 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.539e-05/0.005149, allocations: 24.83 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003431/0.005492, allocations: 67.92 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.005513, allocations: 38.5 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.005514, allocations: 0 / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002169/0.00573, allocations: 93.53 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.005758, allocations: 51.41 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.795e-05/0.005816, allocations: 101.8 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.005828, allocations: 29.64 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.005869, allocations: 80.14 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.005887, allocations: 11.89 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.005911, allocations: 13.72 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.005988, allocations: 314.8 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.979e-05/0.006028, allocations: 24.09 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.36e-05/0.006071, allocations: 11.98 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.006144, allocations: 40.77 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006145, allocations: 0 / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.725e-05/0.006243, allocations: 73.66 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.006254, allocations: 4 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006258, allocations: 0 / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.006268, allocations: 0 / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.066e-05/0.006319, allocations: 11.98 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.006323, allocations: 0 / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.006344, allocations: 4 kB / 0.6216 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.006349, allocations: 4 kB / 0.6216 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 4.958e-05/0.006399, allocations: 114.8 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.00641, allocations: 7.969 kB / 0.6218 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.006533, allocations: 72.91 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.006535, allocations: 7.938 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.006539, allocations: 0 / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006542, allocations: 0 / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.006647, allocations: 124.8 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006648, allocations: 0 / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.006674, allocations: 15.98 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.006676, allocations: 3.938 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.006683, allocations: 4.031 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006683, allocations: 0 / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006684, allocations: 0 / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.006812, allocations: 163.4 kB / 0.6221 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.006819, allocations: 7.938 kB / 0.6221 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.006828, allocations: 4 kB / 0.6221 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.517e-05/0.006863, allocations: 8.172 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.006898, allocations: 4 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.006901, allocations: 8.016 kB / 0.6222 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.06e-05/0.006932, allocations: 79.28 kB / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006932, allocations: 0 / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001718/0.007104, allocations: 19.92 kB / 0.6223 GB, free: 9.121 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.0004061/0.00751, allocations: 0.7124 MB / 0.623 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.00764, allocations: 39.89 kB / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.007642, allocations: 0 / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/0.007681, allocations: 23.92 kB / 0.623 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.00786, allocations: 0 / 0.623 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.008204, allocations: 134.5 kB / 0.6231 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.075e-05/0.008245, allocations: 63.47 kB / 0.6232 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.543e-05/0.00826, allocations: 4 kB / 0.6232 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.008289, allocations: 12.5 kB / 0.6232 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.00829, allocations: 0 / 0.6232 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.02296, allocations: 2.185 MB / 0.6254 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/6.789, allocations: 4.922 kB / 0.6254 GB, free: 6.004 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.45997423119843] Failed to read output from testmodel.py, exit status != 0: 6.868575876578689 6.876117547 6.870587721 Calling exit ...