Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.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.001247/0.001247, allocations: 86.05 kB / 19.87 MB, free: 4.609 MB / 18.57 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.00142/0.00142, allocations: 165.7 kB / 23.27 MB, free: 1.215 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 1.006/1.006, allocations: 177.1 MB / 203.7 MB, free: 5.516 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-535:34: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-535:42: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.8352/0.8352, allocations: 154.9 MB / 415.1 MB, free: 256 kB / 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: translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0.7656 kB / 0.5211 GB, free: 444 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.06e-05, allocations: 2.312 kB / 0.5211 GB, free: 440 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.005598/0.005629, allocations: 1.589 MB / 0.5227 GB, free: 14.85 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005211/0.00615, allocations: 184.7 kB / 0.5229 GB, free: 14.67 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.006206, allocations: 1.156 kB / 0.5229 GB, free: 14.67 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.00624, allocations: 0 / 0.5229 GB, free: 14.67 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.594e-05/0.006296, allocations: 5.906 kB / 0.5229 GB, free: 14.67 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.006736, allocations: 53.05 kB / 0.5229 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 9.647e-05/0.006832, allocations: 44.17 kB / 0.523 GB, free: 14.58 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.006945, allocations: 11.92 kB / 0.523 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.188e-05/0.007007, allocations: 22.33 kB / 0.523 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.007061, allocations: 19.91 kB / 0.523 GB, free: 14.53 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.007079, allocations: 4 kB / 0.523 GB, free: 14.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.007229, allocations: 47.94 kB / 0.5231 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.007243, allocations: 4 kB / 0.5231 GB, free: 14.47 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.007269, allocations: 11.98 kB / 0.5231 GB, free: 14.46 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.007452, allocations: 73.38 kB / 0.5231 GB, free: 14.39 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.007457, allocations: 4 kB / 0.5231 GB, free: 14.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007459, allocations: 0 / 0.5231 GB, free: 14.39 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.007463, allocations: 0 / 0.5231 GB, free: 14.39 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004492/0.007912, allocations: 381.1 kB / 0.5235 GB, free: 13.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.007953, allocations: 8.031 kB / 0.5235 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.007995, allocations: 5.875 kB / 0.5235 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.008106, allocations: 112.6 kB / 0.5236 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.008128, allocations: 9.422 kB / 0.5236 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.008138, allocations: 4.375 kB / 0.5236 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.008308, allocations: 70.86 kB / 0.5237 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.008318, allocations: 0.9062 kB / 0.5237 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.008326, allocations: 384 / 0.5237 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.008333, allocations: 1.406 kB / 0.5237 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.911e-05/0.008372, allocations: 11.94 kB / 0.5237 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.008727, allocations: 250 kB / 0.524 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.008935, allocations: 46.98 kB / 0.524 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.008958, allocations: 11.75 kB / 0.524 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.009097, allocations: 13.05 kB / 0.524 GB, free: 13.37 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.009123, allocations: 37.39 kB / 0.5241 GB, free: 13.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.009125, allocations: 0.6875 kB / 0.5241 GB, free: 13.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001897/0.009314, allocations: 57.56 kB / 0.5241 GB, free: 13.26 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.009349, allocations: 56.62 kB / 0.5242 GB, free: 13.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/0.009443, allocations: 165.9 kB / 0.5243 GB, free: 13.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.009455, allocations: 25.7 kB / 0.5244 GB, free: 12.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.00952, allocations: 136 kB / 0.5245 GB, free: 12.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.009542, allocations: 7.891 kB / 0.5245 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.009587, allocations: 23.36 kB / 0.5245 GB, free: 12.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.0098, allocations: 0.4931 MB / 0.525 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.009827, allocations: 0 / 0.525 GB, free: 12.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.009845, allocations: 4.844 kB / 0.525 GB, free: 12.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/0.009896, allocations: 15.67 kB / 0.525 GB, free: 12.28 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009899, allocations: 6.625 kB / 0.525 GB, free: 12.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001121/0.01001, allocations: 49.88 kB / 0.5251 GB, free: 12.22 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.01004, allocations: 11.92 kB / 0.5251 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.01004, allocations: 0 / 0.5251 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.01006, allocations: 4.031 kB / 0.5251 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.01014, allocations: 8 kB / 0.5251 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.01015, allocations: 3.938 kB / 0.5251 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.01018, allocations: 0.625 kB / 0.5251 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.01019, allocations: 7.984 kB / 0.5251 GB, free: 12.19 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.0001215/0.01031, allocations: 153.7 kB / 0.5253 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.01034, allocations: 4 kB / 0.5253 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.01049, allocations: 49.94 kB / 0.5253 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.0105, allocations: 5.484 kB / 0.5253 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.0105, allocations: 0 / 0.5253 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.0105, allocations: 4 kB / 0.5253 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.01068, allocations: 101.2 kB / 0.5254 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01068, allocations: 4.438 kB / 0.5254 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.979e-05/0.01074, allocations: 13.02 kB / 0.5254 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01074, allocations: 0 / 0.5254 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.01075, allocations: 0 / 0.5254 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01075, allocations: 0.9062 kB / 0.5254 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.01075, allocations: 3.938 kB / 0.5254 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.01092, allocations: 196.5 kB / 0.5256 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.01093, allocations: 3.984 kB / 0.5256 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.01094, allocations: 1.406 kB / 0.5256 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.011, allocations: 8 kB / 0.5256 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.01105, allocations: 7.922 kB / 0.5256 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01106, allocations: 11.16 kB / 0.5257 GB, free: 11.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.805e-05/0.01111, allocations: 123.2 kB / 0.5258 GB, free: 11.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01111, allocations: 0 / 0.5258 GB, free: 11.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002945/0.0114, allocations: 15.94 kB / 0.5258 GB, free: 11.44 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002004/0.0116, allocations: 119.2 kB / 0.5259 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.087e-05/0.01169, allocations: 23.67 kB / 0.5259 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01169, allocations: 2.438 kB / 0.5259 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.481e-05/0.01173, allocations: 19.67 kB / 0.5259 GB, free: 11.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.01199, allocations: 7.938 kB / 0.526 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.0123, allocations: 122.2 kB / 0.5261 GB, free: 11.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.139e-05/0.01235, allocations: 63.2 kB / 0.5261 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.301e-05/0.01238, allocations: 5.156 kB / 0.5261 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.01245, allocations: 71.08 kB / 0.5262 GB, free: 10.95 MB / 458.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01245, allocations: 0 / 0.5262 GB, free: 10.95 MB / 458.7 MB Notification: Performance of Templates: time 0.003747/0.0162, allocations: 1.117 MB / 0.5273 GB, free: 9.887 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.743134628981352]