Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.0009132/0.0009132, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009401/0.0009401, allocations: 169 kB / 23.27 MB, free: 1.223 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.9779/0.9779, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.8222/0.8222, allocations: 154.9 MB / 415.1 MB, free: 248 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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.992e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003062/0.003091, allocations: 1.808 MB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004326, allocations: 0.7073 MB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.972e-05/0.004416, allocations: 0.7188 kB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.3e-05/0.004459, allocations: 11.86 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.682e-05/0.004536, allocations: 24.92 kB / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.005054, allocations: 179.2 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.005239, allocations: 131.5 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.005375, allocations: 37.55 kB / 0.524 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.005581, allocations: 85.56 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.005663, allocations: 35.89 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.005692, allocations: 12 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.005802, allocations: 43.97 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.005837, allocations: 31.89 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.005879, allocations: 41.27 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.006115, allocations: 143.5 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.006118, allocations: 3.938 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.00612, allocations: 0 / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.006124, allocations: 0.5312 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000527/0.006651, allocations: 464.7 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.006688, allocations: 13.5 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006113/0.0073, allocations: 110.1 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.007524, allocations: 164.9 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.553e-05/0.007609, allocations: 107.4 kB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.00764, allocations: 12.38 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.007949, allocations: 196 kB / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.007959, allocations: 0 / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.007976, allocations: 0 / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.007983, allocations: 0 / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.859e-05/0.008072, allocations: 52.53 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.008803, allocations: 391.7 kB / 0.5258 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.009189, allocations: 137.3 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.00924, allocations: 31.81 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.009267, allocations: 8.938 kB / 0.526 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.4e-05/0.009291, allocations: 37.39 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.009292, allocations: 3.938 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002675/0.00956, allocations: 104.1 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.009589, allocations: 51.41 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.009704, allocations: 204.8 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.009726, allocations: 29.7 kB / 0.5264 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.009794, allocations: 155 kB / 0.5265 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.009819, allocations: 23.78 kB / 0.5265 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.009872, allocations: 34.11 kB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.01002, allocations: 0.4884 MB / 0.527 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.154e-05/0.01007, allocations: 19.98 kB / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.343e-05/0.01014, allocations: 51.03 kB / 0.5271 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.01024, allocations: 70.98 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01024, allocations: 1.156 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001818/0.01043, allocations: 97.56 kB / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.01044, allocations: 4.938 kB / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01045, allocations: 4 kB / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.01046, allocations: 0.9375 kB / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.01061, allocations: 39.78 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.01061, allocations: 0.6562 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.725e-05/0.0107, allocations: 17.17 kB / 0.5273 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.01071, allocations: 7.984 kB / 0.5273 GB, free: 10.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 8.772e-05/0.0108, allocations: 159 kB / 0.5275 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.01084, allocations: 15.91 kB / 0.5275 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.01104, allocations: 98.67 kB / 0.5276 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.01105, allocations: 4 kB / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.01105, allocations: 7.062 kB / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01106, allocations: 4 kB / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.01123, allocations: 138.2 kB / 0.5278 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01123, allocations: 0 / 0.5278 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.01135, allocations: 23.97 kB / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01135, allocations: 0 / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.01136, allocations: 0 / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01136, allocations: 0 / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01136, allocations: 0.5 kB / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.01156, allocations: 237.3 kB / 0.528 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.01158, allocations: 11.91 kB / 0.528 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.0116, allocations: 3.984 kB / 0.528 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.01175, allocations: 23.67 kB / 0.528 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.01178, allocations: 7.922 kB / 0.528 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.0118, allocations: 7.984 kB / 0.5281 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.81e-05/0.01187, allocations: 151.7 kB / 0.5282 GB, free: 10 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01187, allocations: 0 / 0.5282 GB, free: 10 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002513/0.01212, allocations: 23.94 kB / 0.5282 GB, free: 9.98 MB / 0.4948 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 (6): * Single equations (assignments): 6 * 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.0001278/0.01225, allocations: 95.23 kB / 0.5283 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.0124, allocations: 66.78 kB / 0.5284 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.0124, allocations: 4 kB / 0.5284 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/0.01246, allocations: 35.66 kB / 0.5284 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.01273, allocations: 19.98 kB / 0.5284 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.01327, allocations: 226.6 kB / 0.5287 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.749e-05/0.01332, allocations: 74.39 kB / 0.5287 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.243e-05/0.0134, allocations: 11.78 kB / 0.5287 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.0136, allocations: 118 kB / 0.5288 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/0.0136, allocations: 0 / 0.5288 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of Templates: time 0.004097/0.0177, allocations: 1.698 MB / 0.5305 GB, free: 7.676 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.680557533632964]