Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.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.0008948/0.0008948, allocations: 82.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.001025/0.001025, allocations: 169.7 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 1.002/1.002, allocations: 177.1 MB / 203.7 MB, free: 5.48 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.8039/0.8039, allocations: 154.9 MB / 415.1 MB, free: 260 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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.5211 GB, free: 1.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.187e-05, allocations: 2.859 kB / 0.5211 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001865/0.001887, allocations: 0.6067 MB / 0.5217 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 5.556e-05/0.001942, allocations: 4 kB / 0.5217 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.001963, allocations: 0.5625 kB / 0.5217 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.001995, allocations: 0.8438 kB / 0.5217 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.733e-06/0.002002, allocations: 0 / 0.5217 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.367e-05/0.002046, allocations: 0 / 0.5217 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.471e-05/0.002101, allocations: 5.578 kB / 0.5217 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.00215, allocations: 9.469 kB / 0.5217 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.002196, allocations: 0 / 0.5217 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.918e-05/0.002235, allocations: 0 / 0.5217 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.002248, allocations: 0 / 0.5217 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.002252, allocations: 0.9375 kB / 0.5217 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.002267, allocations: 0.9844 kB / 0.5217 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.002283, allocations: 3.984 kB / 0.5217 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.594e-05/0.002358, allocations: 1.406 kB / 0.5217 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.002362, allocations: 0 / 0.5217 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.002364, allocations: 4 kB / 0.5217 GB, free: 0.957 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.002368, allocations: 0 / 0.5217 GB, free: 0.957 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003284/0.002697, allocations: 338.3 kB / 0.522 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.002735, allocations: 8.031 kB / 0.522 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.002759, allocations: 0.9375 kB / 0.522 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.171e-05/0.002831, allocations: 105.3 kB / 0.5221 GB, free: 464 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.002843, allocations: 1.656 kB / 0.5221 GB, free: 464 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.00285, allocations: 8.359 kB / 0.5221 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.932e-05/0.00292, allocations: 30.27 kB / 0.5222 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.002927, allocations: 2.406 kB / 0.5222 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.002933, allocations: 384 / 0.5222 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.002939, allocations: 384 / 0.5222 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.069e-05/0.00295, allocations: 7.938 kB / 0.5222 GB, free: 412 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.394e-05/0.003044, allocations: 89.98 kB / 0.5223 GB, free: 296 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.809e-05/0.003082, allocations: 31.03 kB / 0.5223 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.003102, allocations: 13.53 kB / 0.5223 GB, free: 236 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.003112, allocations: 0 / 0.5223 GB, free: 236 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.003138, allocations: 38 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.003139, allocations: 0 / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001135/0.003252, allocations: 39.59 kB / 0.5224 GB, free: 144 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.003286, allocations: 51.41 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.003353, allocations: 150.2 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.003365, allocations: 29.64 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.003406, allocations: 128.3 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.003441, allocations: 0 / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.003479, allocations: 19.38 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.003636, allocations: 496.1 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.003646, allocations: 0.9688 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-06/0.003655, allocations: 4 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.003688, allocations: 9 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.003691, allocations: 0 / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.684e-05/0.003758, allocations: 37.62 kB / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.003776, allocations: 8.562 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.003782, allocations: 0.5 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.003793, allocations: 1.031 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.003844, allocations: 0 / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.003847, allocations: 0 / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.196e-05/0.003859, allocations: 5.219 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.003863, allocations: 0 / 0.5233 GB, free: 15.16 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 (1): * Single equations (assignments): 1 * 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 9.163e-05/0.003955, allocations: 156.5 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.003965, allocations: 5.781 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.003988, allocations: 3 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.003992, allocations: 4 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.003997, allocations: 3.984 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.004, allocations: 0 / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.831e-05/0.004078, allocations: 95.3 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.00408, allocations: 0 / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.004095, allocations: 4 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.004098, allocations: 0 / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.004102, allocations: 0 / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.004103, allocations: 1.812 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.004105, allocations: 0 / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.777e-05/0.004192, allocations: 76.31 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.004203, allocations: 7.938 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-06/0.004212, allocations: 2.438 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-06/0.004218, allocations: 0 / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.004233, allocations: 0 / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.004237, allocations: 4 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.194e-05/0.004279, allocations: 123.1 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004279, allocations: 0 / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001808/0.00446, allocations: 0 / 0.5238 GB, free: 14.63 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 (1): * Single equations (assignments): 1 * 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 9.763e-05/0.004557, allocations: 97.69 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.86e-05/0.004616, allocations: 15.67 kB / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.004618, allocations: 0 / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.919e-06/0.004628, allocations: 12.66 kB / 0.5239 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.004766, allocations: 11.94 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001956/0.004962, allocations: 83.92 kB / 0.524 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.418e-05/0.004996, allocations: 52.3 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.264e-05/0.005009, allocations: 4 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.005049, allocations: 69.2 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/0.00505, allocations: 0 / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.001682/0.006732, allocations: 200 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.627661617938429]