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.001067/0.001067, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008601/0.0008601, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.978/0.978, allocations: 230.6 MB / 256 MB, free: 9.598 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.7723/0.7723, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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: "" <> 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: 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.0009928/0.0009928, allocations: 61.53 kB / 0.7182 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5059, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001973/0.5078, allocations: 1.458 MB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005082/0.5083, allocations: 254.3 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.5084, allocations: 2.844 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.5084, allocations: 0 / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.5084, allocations: 8.5 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.5088, allocations: 58.28 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.036e-05/0.5089, allocations: 20.06 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.509, allocations: 9.203 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.509, allocations: 7.312 kB / 0.8196 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.5091, allocations: 12.88 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/0.5091, allocations: 2.625 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.5092, allocations: 64.7 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.5092, allocations: 4.641 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.5092, allocations: 10.5 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.5094, allocations: 58.72 kB / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5094, allocations: 0 / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5094, allocations: 0 / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.5094, allocations: 0.6562 kB / 0.8197 GB, free: 15.78 MB / 0.6198 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.0003519/0.5097, allocations: 269.8 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5098, allocations: 10.34 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.5098, allocations: 31.36 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.5098, allocations: 3.969 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.671e-05/0.5099, allocations: 108.4 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.5099, allocations: 5.812 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.5099, allocations: 6.812 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.5101, allocations: 48.16 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.5101, allocations: 3.938 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.5101, allocations: 0 / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5101, allocations: 2.562 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.209e-05/0.5102, allocations: 32.86 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.5104, allocations: 214.2 kB / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.905e-05/0.5105, allocations: 48.03 kB / 0.8205 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.5106, allocations: 24.59 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003784/0.5109, allocations: 74.23 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.511, allocations: 37.22 kB / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.511, allocations: 4 kB / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002289/0.5112, allocations: 76.47 kB / 0.8207 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.5112, allocations: 59.34 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.018e-05/0.5113, allocations: 102.4 kB / 0.8208 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.5113, allocations: 25.7 kB / 0.8208 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.5113, allocations: 87.3 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.5113, allocations: 8.453 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.5114, allocations: 17.81 kB / 0.8209 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.5115, allocations: 315.6 kB / 0.8212 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.736e-05/0.5115, allocations: 16.48 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.77e-05/0.5115, allocations: 12.03 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.676e-05/0.5116, allocations: 41.59 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5116, allocations: 3.938 kB / 0.8213 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001174/0.5117, allocations: 71.08 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5118, allocations: 9.984 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5118, allocations: 0 / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.5118, allocations: 0 / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.5119, allocations: 8.859 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.5119, allocations: 5.266 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.5119, allocations: 6.328 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.5119, allocations: 3.688 kB / 0.8214 GB, free: 14.21 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.548e-05/0.5119, allocations: 114.6 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.512, allocations: 3.094 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.5121, allocations: 73.64 kB / 0.8216 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.5121, allocations: 0.5625 kB / 0.8216 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5121, allocations: 2.344 kB / 0.8216 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5121, allocations: 0 / 0.8216 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.5122, allocations: 127.7 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5122, allocations: 0 / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.5123, allocations: 17.42 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5123, allocations: 0.5156 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.5123, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5123, allocations: 3.766 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.5123, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.5124, allocations: 161.9 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-06/0.5124, allocations: 10.02 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.5124, allocations: 1.062 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.603e-05/0.5125, allocations: 11.25 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.5125, allocations: 1.266 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.5125, allocations: 0.8125 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.187e-05/0.5125, allocations: 89.89 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5125, allocations: 0 / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000173/0.5127, allocations: 16.69 kB / 0.822 GB, free: 13.64 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.0004174/0.5131, allocations: 0.7173 MB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.5133, allocations: 32.72 kB / 0.8228 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5133, allocations: 0 / 0.8228 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.463e-05/0.5133, allocations: 28.2 kB / 0.8228 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.5135, allocations: 7.062 kB / 0.8228 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.5138, allocations: 140.6 kB / 0.8229 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.5139, allocations: 59.91 kB / 0.823 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.5139, allocations: 0 / 0.823 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.5139, allocations: 15.33 kB / 0.823 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.5139, allocations: 0 / 0.823 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.5308, allocations: 2.056 MB / 0.825 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.601/7.131, allocations: 6.094 kB / 0.825 GB, free: 11.85 MB / 0.6198 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: 10.010909176897258] Failed to read output from testmodel.py, exit status != 0: 7.209215654991567 7.222311832 6.7105183649999995 Calling exit ...