Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.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.0009252/0.0009252, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001701/0.001701, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9676/0.9676, allocations: 177.2 MB / 203.7 MB, free: 5.496 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.8779/0.8779, allocations: 154.9 MB / 415.1 MB, free: 268 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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.5211 GB, free: 464 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/1.993e-05, allocations: 4.141 kB / 0.5211 GB, free: 460 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002072/0.002092, allocations: 1.588 MB / 0.5226 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008874/0.002979, allocations: 0.6175 MB / 0.5232 GB, free: 14.26 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.003043, allocations: 0 / 0.5232 GB, free: 14.26 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 8.624e-05/0.003129, allocations: 11.86 kB / 0.5232 GB, free: 14.25 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.752e-05/0.003177, allocations: 25.69 kB / 0.5233 GB, free: 14.22 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.003568, allocations: 103.7 kB / 0.5234 GB, free: 14.12 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.003683, allocations: 103.6 kB / 0.5235 GB, free: 14.02 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.286e-05/0.003765, allocations: 18.31 kB / 0.5235 GB, free: 14 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.003903, allocations: 63.81 kB / 0.5235 GB, free: 13.94 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.136e-05/0.003965, allocations: 35.89 kB / 0.5236 GB, free: 13.9 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.003981, allocations: 8 kB / 0.5236 GB, free: 13.89 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.004104, allocations: 95.89 kB / 0.5237 GB, free: 13.8 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.004142, allocations: 19.92 kB / 0.5237 GB, free: 13.78 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.004174, allocations: 24.45 kB / 0.5237 GB, free: 13.76 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.004363, allocations: 148 kB / 0.5239 GB, free: 13.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.004367, allocations: 4.984 kB / 0.5239 GB, free: 13.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.004368, allocations: 0 / 0.5239 GB, free: 13.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.004372, allocations: 0 / 0.5239 GB, free: 13.61 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005094/0.004881, allocations: 482.4 kB / 0.5243 GB, free: 13.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.004913, allocations: 9.188 kB / 0.5243 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.005081, allocations: 32.86 kB / 0.5244 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.005226, allocations: 152.5 kB / 0.5245 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.005237, allocations: 384 / 0.5245 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.005247, allocations: 5.906 kB / 0.5245 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.005386, allocations: 82.89 kB / 0.5246 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.005392, allocations: 4.188 kB / 0.5246 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.005402, allocations: 5.391 kB / 0.5246 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.005425, allocations: 11.92 kB / 0.5246 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.421e-05/0.005459, allocations: 15.94 kB / 0.5246 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.00581, allocations: 305 kB / 0.5249 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.005879, allocations: 36.33 kB / 0.525 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.005905, allocations: 19.75 kB / 0.525 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.005917, allocations: 0 / 0.525 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.006021, allocations: 85.58 kB / 0.5251 GB, free: 12.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.006022, allocations: 0.8438 kB / 0.5251 GB, free: 12.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001782/0.0062, allocations: 85.62 kB / 0.5251 GB, free: 12.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.006231, allocations: 59.41 kB / 0.5252 GB, free: 12.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.344e-05/0.006315, allocations: 197.3 kB / 0.5254 GB, free: 11.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.006331, allocations: 26.55 kB / 0.5254 GB, free: 11.87 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.006397, allocations: 154.7 kB / 0.5256 GB, free: 11.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.006416, allocations: 27.8 kB / 0.5256 GB, free: 11.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.00646, allocations: 38.59 kB / 0.5256 GB, free: 11.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.006566, allocations: 0.4924 MB / 0.5261 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.006605, allocations: 41.62 kB / 0.5261 GB, free: 11.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.006633, allocations: 33.7 kB / 0.5262 GB, free: 11.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.455e-05/0.006698, allocations: 72.8 kB / 0.5262 GB, free: 10.97 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.0067, allocations: 3.938 kB / 0.5262 GB, free: 10.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001307/0.006831, allocations: 137 kB / 0.5264 GB, free: 10.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.006857, allocations: 37.69 kB / 0.5264 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.006863, allocations: 3.031 kB / 0.5264 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/0.00687, allocations: 0 / 0.5264 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.006947, allocations: 19.98 kB / 0.5264 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.00695, allocations: 4 kB / 0.5264 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.007006, allocations: 19.88 kB / 0.5265 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.007017, allocations: 0 / 0.5265 GB, free: 10.73 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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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.426e-05/0.007091, allocations: 168.5 kB / 0.5266 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.007108, allocations: 13.45 kB / 0.5266 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.007138, allocations: 12.77 kB / 0.5266 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.007148, allocations: 4 kB / 0.5266 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.00715, allocations: 3.938 kB / 0.5267 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007153, allocations: 0.5625 kB / 0.5267 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.709e-05/0.00725, allocations: 126.2 kB / 0.5268 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007251, allocations: 0 / 0.5268 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.007292, allocations: 12.48 kB / 0.5268 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.007296, allocations: 3.938 kB / 0.5268 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.007302, allocations: 4.719 kB / 0.5268 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.007303, allocations: 0 / 0.5268 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007304, allocations: 0.5 kB / 0.5268 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.007421, allocations: 119.1 kB / 0.5269 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.007434, allocations: 19.81 kB / 0.5269 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.007452, allocations: 4 kB / 0.5269 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.87e-05/0.007491, allocations: 7.984 kB / 0.5269 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.007529, allocations: 15.97 kB / 0.527 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.007538, allocations: 8 kB / 0.527 GB, free: 10.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.656e-05/0.007585, allocations: 144.5 kB / 0.5271 GB, free: 10.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007585, allocations: 2.438 kB / 0.5271 GB, free: 10.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.007758, allocations: 36 kB / 0.5271 GB, free: 9.988 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001248/0.007882, allocations: 115.2 kB / 0.5272 GB, free: 9.867 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.008016, allocations: 132.7 kB / 0.5274 GB, free: 9.715 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.008017, allocations: 0 / 0.5274 GB, free: 9.715 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.008058, allocations: 29.05 kB / 0.5274 GB, free: 9.684 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.008203, allocations: 19.92 kB / 0.5274 GB, free: 9.664 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.008664, allocations: 213.3 kB / 0.5276 GB, free: 9.426 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.412e-05/0.008698, allocations: 68.61 kB / 0.5277 GB, free: 9.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.088e-05/0.008739, allocations: 13.25 kB / 0.5277 GB, free: 9.328 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.008812, allocations: 86.19 kB / 0.5278 GB, free: 9.242 MB / 458.7 MB Notification: Performance of SimCode: time 7.72e-07/0.008813, allocations: 0 / 0.5278 GB, free: 9.242 MB / 458.7 MB Notification: Performance of Templates: time 0.003272/0.01209, allocations: 1.624 MB / 0.5294 GB, free: 7.699 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.696024612057954]