Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.001023/0.001023, allocations: 81.95 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.0009984/0.0009984, allocations: 169.7 kB / 23.27 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.9631/0.9631, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.8539/0.8539, allocations: 154.9 MB / 415.1 MB, free: 252 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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.405e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001663/0.001677, allocations: 1.488 MB / 0.5226 GB, free: 28 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006233/0.0023, allocations: 498.1 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.002333, allocations: 0 / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.00236, allocations: 3.938 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.779e-05/0.002417, allocations: 7.938 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.002586, allocations: 25.45 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.358e-05/0.002639, allocations: 27.92 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.363e-05/0.002703, allocations: 3.984 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.197e-05/0.002765, allocations: 19.92 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.328e-05/0.002798, allocations: 12.73 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.002809, allocations: 0 / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.978e-05/0.002859, allocations: 9.469 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.002875, allocations: 11.98 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.326e-05/0.002888, allocations: 3.938 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.171e-05/0.00297, allocations: 27.95 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.002971, allocations: 5.344 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002972, allocations: 3.938 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.002975, allocations: 0 / 0.5232 GB, free: 15.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002818/0.003257, allocations: 361.6 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.003291, allocations: 8.031 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.003472, allocations: 16.91 kB / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.448e-05/0.003546, allocations: 119.4 kB / 0.5237 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.003556, allocations: 4.359 kB / 0.5237 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.003563, allocations: 4.375 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.705e-05/0.00365, allocations: 54.94 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.003656, allocations: 192 / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.003663, allocations: 4.375 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.003667, allocations: 3.938 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.003687, allocations: 4.562 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.003901, allocations: 240.9 kB / 0.524 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.1e-05/0.003942, allocations: 27.94 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.003959, allocations: 15.78 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.003974, allocations: 5.469 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.003995, allocations: 33.39 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.003996, allocations: 0 / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001198/0.004116, allocations: 49.58 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.004142, allocations: 52.34 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.985e-05/0.004202, allocations: 169.9 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.004215, allocations: 27.11 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.00425, allocations: 126.9 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.004267, allocations: 15.92 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.004296, allocations: 19.38 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.004405, allocations: 493.3 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.004415, allocations: 4 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/0.004423, allocations: 0 / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.729e-05/0.004451, allocations: 20.36 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.004452, allocations: 1.281 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.704e-05/0.004499, allocations: 41.64 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.00451, allocations: 11.69 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.004515, allocations: 3.938 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/0.004521, allocations: 0 / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.644e-05/0.004577, allocations: 7.984 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.004579, allocations: 3.031 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.004603, allocations: 4 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.004607, allocations: 0 / 0.5251 GB, free: 13.29 MB / 0.4948 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 6.748e-05/0.004675, allocations: 156.6 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.00469, allocations: 3.953 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.004717, allocations: 11.23 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.004719, allocations: 6.75 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.00472, allocations: 0 / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.004722, allocations: 0 / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.973e-05/0.004812, allocations: 101.2 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004813, allocations: 0 / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.004841, allocations: 11.92 kB / 0.5254 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.004842, allocations: 4 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.004847, allocations: 0 / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.004848, allocations: 0.5 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.00485, allocations: 5.25 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.741e-05/0.004937, allocations: 187.9 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-06/0.004942, allocations: 0 / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.004951, allocations: 4.531 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.004993, allocations: 4.5 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.005016, allocations: 7.922 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.005021, allocations: 4.75 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.005052, allocations: 125 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005052, allocations: 4 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001332/0.005186, allocations: 7.953 kB / 0.5257 GB, free: 12.61 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 (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 6.403e-05/0.00525, allocations: 93.69 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.354e-05/0.005303, allocations: 23.61 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.005304, allocations: 0 / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.772e-05/0.005322, allocations: 15.69 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.005485, allocations: 11.97 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.005662, allocations: 120.7 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.005981, allocations: 51.36 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.931e-05/0.006011, allocations: 9.922 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.00606, allocations: 75.75 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.00606, allocations: 0 / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.001844/0.007904, allocations: 0.6416 MB / 0.5267 GB, free: 11.54 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7173254997469485]