Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.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.0008702/0.0008702, allocations: 81.17 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.001432/0.001432, 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.986/0.986, allocations: 177.2 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.8325/0.8325, allocations: 154.9 MB / 415.1 MB, free: 240 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.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0.5469 kB / 0.5211 GB, free: 1.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.447e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.008162/0.008186, allocations: 1.294 MB / 0.5224 GB, free: 272 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.009529/0.01771, allocations: 3.342 MB / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.01775, allocations: 1.219 kB / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.01778, allocations: 3.938 kB / 0.5256 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.09e-05/0.01783, allocations: 3.984 kB / 0.5256 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.01837, allocations: 117.7 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.182e-05/0.01844, allocations: 35.86 kB / 0.5258 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.156e-05/0.01847, allocations: 3.984 kB / 0.5258 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.681e-05/0.01853, allocations: 29.62 kB / 0.5258 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.815e-05/0.01858, allocations: 15.97 kB / 0.5258 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.0186, allocations: 0 / 0.5258 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.01878, allocations: 63.83 kB / 0.5259 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.01879, allocations: 3.984 kB / 0.5259 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.01881, allocations: 21.39 kB / 0.5259 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.01896, allocations: 71.73 kB / 0.526 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.01897, allocations: 0 / 0.526 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.01897, allocations: 0 / 0.526 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.01897, allocations: 0.75 kB / 0.526 GB, free: 12.56 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.006323/0.02529, allocations: 373.7 kB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.02533, allocations: 8.031 kB / 0.5263 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.68e-05/0.02542, allocations: 17.17 kB / 0.5264 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.797e-05/0.02549, allocations: 106 kB / 0.5265 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.0255, allocations: 12.31 kB / 0.5265 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.02552, allocations: 8.359 kB / 0.5265 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.02563, allocations: 127.3 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.463e-06/0.02564, allocations: 0.9062 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.02565, allocations: 4.125 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.02565, allocations: 5.25 kB / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.046e-05/0.02568, allocations: 15.98 kB / 0.5266 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.02579, allocations: 105.2 kB / 0.5267 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.112e-05/0.02586, allocations: 65.73 kB / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.02588, allocations: 15.69 kB / 0.5268 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003896/0.02627, allocations: 292.7 kB / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.02629, allocations: 37.39 kB / 0.5271 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.02629, allocations: 0 / 0.5271 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003817/0.02668, allocations: 228.5 kB / 0.5273 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.0267, allocations: 55.41 kB / 0.5274 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.02677, allocations: 161.9 kB / 0.5275 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.02678, allocations: 25.7 kB / 0.5276 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.02683, allocations: 138.8 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.02685, allocations: 23.75 kB / 0.5277 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.02689, allocations: 35.34 kB / 0.5277 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.02701, allocations: 0.4923 MB / 0.5282 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.02703, allocations: 8.922 kB / 0.5282 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.612e-05/0.02707, allocations: 61.41 kB / 0.5283 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.908e-05/0.02714, allocations: 83.84 kB / 0.5284 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.02715, allocations: 0 / 0.5284 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001147/0.02726, allocations: 94.72 kB / 0.5285 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.02727, allocations: 5.562 kB / 0.5285 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.02728, allocations: 4 kB / 0.5285 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.02729, allocations: 3.938 kB / 0.5285 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.02734, allocations: 27.98 kB / 0.5285 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.02735, allocations: 4.719 kB / 0.5285 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.02738, allocations: 4 kB / 0.5285 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.02739, allocations: 0.6562 kB / 0.5285 GB, free: 9.656 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 7.313e-05/0.02746, allocations: 165.1 kB / 0.5287 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.02749, allocations: 9.344 kB / 0.5287 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.02751, allocations: 8.125 kB / 0.5287 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.02751, allocations: 4 kB / 0.5287 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.02752, allocations: 0 / 0.5287 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.02752, allocations: 2.438 kB / 0.5287 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.02769, allocations: 113.2 kB / 0.5288 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.02769, allocations: 448 / 0.5288 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.02775, allocations: 19.98 kB / 0.5288 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.02775, allocations: 3.938 kB / 0.5288 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.02776, allocations: 4 kB / 0.5288 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.02776, allocations: 0 / 0.5288 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.02776, allocations: 2.844 kB / 0.5288 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.02792, allocations: 224.1 kB / 0.529 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.02794, allocations: 4.047 kB / 0.5291 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.02795, allocations: 11.91 kB / 0.5291 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.972e-05/0.02801, allocations: 4 kB / 0.5291 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.02802, allocations: 4 kB / 0.5291 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.02803, allocations: 4 kB / 0.5291 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.02806, allocations: 124.1 kB / 0.5292 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02806, allocations: 0 / 0.5292 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002157/0.02828, allocations: 16 kB / 0.5292 GB, free: 8.898 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001063/0.02839, allocations: 100.1 kB / 0.5293 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.149e-05/0.02847, allocations: 35.61 kB / 0.5293 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.02847, allocations: 4 kB / 0.5293 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.02849, allocations: 31.59 kB / 0.5294 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.02871, allocations: 7.938 kB / 0.5294 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/0.02928, allocations: 273.4 kB / 0.5296 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.824e-05/0.02932, allocations: 61.59 kB / 0.5297 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.02936, allocations: 9.422 kB / 0.5297 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.02943, allocations: 83.7 kB / 0.5298 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of SimCode: time 7.12e-07/0.02943, allocations: 0 / 0.5298 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of Templates: time 0.002613/0.03204, allocations: 0.6974 MB / 0.5305 GB, free: 7.637 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7534406459890306]