Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.00121/0.00121, allocations: 86.05 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.00131/0.00131, allocations: 170 kB / 23.27 MB, free: 1.227 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.033/1.033, allocations: 177.2 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.8091/0.8091, 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.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.5212 GB, free: 380 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.085e-05, allocations: 4.281 kB / 0.5212 GB, free: 376 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002217/0.002248, allocations: 0.7019 MB / 0.5219 GB, free: 15.69 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.003454, allocations: 0.9147 MB / 0.5228 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.003498, allocations: 0 / 0.5228 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.00353, allocations: 4.5 kB / 0.5228 GB, free: 14.76 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.331e-05/0.003614, allocations: 7.969 kB / 0.5228 GB, free: 14.76 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.003803, allocations: 15.92 kB / 0.5228 GB, free: 14.74 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 9.954e-05/0.003902, allocations: 54.58 kB / 0.5228 GB, free: 14.7 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.003999, allocations: 7.984 kB / 0.5228 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.004103, allocations: 26.73 kB / 0.5229 GB, free: 14.66 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.004155, allocations: 19.91 kB / 0.5229 GB, free: 14.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.004177, allocations: 4 kB / 0.5229 GB, free: 14.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.004188, allocations: 4 kB / 0.5229 GB, free: 14.64 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.004207, allocations: 4 kB / 0.5229 GB, free: 14.63 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.004229, allocations: 11.98 kB / 0.5229 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 9.987e-05/0.004329, allocations: 31.83 kB / 0.5229 GB, free: 14.59 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.004334, allocations: 5.031 kB / 0.5229 GB, free: 14.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.004335, allocations: 0 / 0.5229 GB, free: 14.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004339, allocations: 0 / 0.5229 GB, free: 14.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004262/0.004765, allocations: 369.8 kB / 0.5233 GB, free: 14.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.004805, allocations: 12.03 kB / 0.5233 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.004841, allocations: 9.516 kB / 0.5233 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.945e-05/0.00494, allocations: 116.5 kB / 0.5234 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.004952, allocations: 6 kB / 0.5234 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.004963, allocations: 4.375 kB / 0.5234 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.005113, allocations: 58.94 kB / 0.5235 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.005122, allocations: 192 / 0.5235 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.00513, allocations: 5.562 kB / 0.5235 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.005136, allocations: 384 / 0.5235 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.424e-05/0.00517, allocations: 15.92 kB / 0.5235 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.005473, allocations: 245.2 kB / 0.5238 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.192e-05/0.005545, allocations: 32.19 kB / 0.5238 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.005568, allocations: 11.69 kB / 0.5238 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.005586, allocations: 0 / 0.5238 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.005614, allocations: 42.2 kB / 0.5238 GB, free: 13.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.005615, allocations: 3.938 kB / 0.5238 GB, free: 13.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001662/0.005782, allocations: 54.33 kB / 0.5239 GB, free: 13.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.005818, allocations: 51.41 kB / 0.5239 GB, free: 13.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.005922, allocations: 166.9 kB / 0.5241 GB, free: 13.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.005935, allocations: 25.7 kB / 0.5241 GB, free: 13.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.005999, allocations: 138.9 kB / 0.5243 GB, free: 13.08 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.006021, allocations: 12.55 kB / 0.5243 GB, free: 13.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.006062, allocations: 20.12 kB / 0.5243 GB, free: 13.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.006223, allocations: 496.1 kB / 0.5248 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.006245, allocations: 7.219 kB / 0.5248 GB, free: 12.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.006261, allocations: 4.031 kB / 0.5248 GB, free: 12.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.716e-05/0.006309, allocations: 19.69 kB / 0.5248 GB, free: 12.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.006311, allocations: 0 / 0.5248 GB, free: 12.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.136e-05/0.006402, allocations: 41.62 kB / 0.5248 GB, free: 12.47 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.00642, allocations: 8 kB / 0.5248 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.006425, allocations: 0 / 0.5248 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.006436, allocations: 3.938 kB / 0.5248 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.006527, allocations: 11.98 kB / 0.5249 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.00653, allocations: 0.875 kB / 0.5249 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/0.006567, allocations: 7.938 kB / 0.5249 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.006575, allocations: 0.5625 kB / 0.5249 GB, free: 12.44 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: 0 () * 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 8.541e-05/0.00666, allocations: 161.5 kB / 0.525 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.006687, allocations: 3.953 kB / 0.525 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.006722, allocations: 13.58 kB / 0.525 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.006726, allocations: 3.938 kB / 0.525 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.006728, allocations: 0 / 0.525 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.006731, allocations: 0 / 0.525 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.006881, allocations: 106.2 kB / 0.5251 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006882, allocations: 0 / 0.5251 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.006938, allocations: 8 kB / 0.5251 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.006942, allocations: 6.031 kB / 0.5252 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.006948, allocations: 0 / 0.5252 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.00695, allocations: 0 / 0.5252 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.006953, allocations: 3.984 kB / 0.5252 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.007102, allocations: 195.8 kB / 0.5253 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.007113, allocations: 8.734 kB / 0.5254 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.007123, allocations: 3.938 kB / 0.5254 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.007194, allocations: 4.719 kB / 0.5254 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.007234, allocations: 7.922 kB / 0.5254 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.00724, allocations: 0.5625 kB / 0.5254 GB, free: 11.87 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.007291, allocations: 140.2 kB / 0.5255 GB, free: 11.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007291, allocations: 0 / 0.5255 GB, free: 11.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.007562, allocations: 5.562 kB / 0.5255 GB, free: 11.73 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: 0 () * 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.0001205/0.007682, allocations: 95.25 kB / 0.5256 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.955e-05/0.007772, allocations: 19.62 kB / 0.5256 GB, free: 11.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007773, allocations: 2.75 kB / 0.5256 GB, free: 11.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.007804, allocations: 15.67 kB / 0.5256 GB, free: 11.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.008115, allocations: 12.23 kB / 0.5256 GB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.00842, allocations: 138.3 kB / 0.5258 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.08e-05/0.00846, allocations: 57.31 kB / 0.5258 GB, free: 11.33 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.921e-05/0.00849, allocations: 4.375 kB / 0.5258 GB, free: 11.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.008563, allocations: 74.19 kB / 0.5259 GB, free: 11.25 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008564, allocations: 0 / 0.5259 GB, free: 11.25 MB / 458.7 MB Notification: Performance of Templates: time 0.003246/0.01181, allocations: 0.8551 MB / 0.5267 GB, free: 10.44 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.626282547134906]