Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.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.0009734/0.0009734, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002361, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009717/0.0009717, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002236, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09439/1.106, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1213/0.1213, allocations: 29.45 MB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1491/0.2704, allocations: 9.524 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 284.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.144e-05, allocations: 4.734 kB / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002593/0.002604, allocations: 2.702 MB / 286.9 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005184/0.003123, allocations: 456.9 kB / 287.4 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.003177, allocations: 5.844 kB / 287.4 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.00322, allocations: 11.86 kB / 287.4 MB, free: 9.398 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.003287, allocations: 31.41 kB / 287.4 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.006e-05/0.003347, allocations: 19.19 kB / 287.4 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.003471, allocations: 105.6 kB / 287.5 MB, free: 9.293 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.003556, allocations: 18.67 kB / 287.6 MB, free: 9.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.003726, allocations: 78.28 kB / 287.6 MB, free: 9.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.003814, allocations: 34.36 kB / 287.7 MB, free: 9.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.003836, allocations: 15.72 kB / 287.7 MB, free: 9.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.003853, allocations: 11.75 kB / 287.7 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.003872, allocations: 9.594 kB / 287.7 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.003912, allocations: 23.16 kB / 287.7 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.00406, allocations: 69.53 kB / 287.8 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.004075, allocations: 0 / 287.8 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004076, allocations: 0 / 287.8 MB, free: 9.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.004093, allocations: 1.188 kB / 287.8 MB, free: 9.16 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000543/0.004636, allocations: 327 kB / 288.1 MB, free: 8.875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.004667, allocations: 9.406 kB / 288.1 MB, free: 8.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.004701, allocations: 12.61 kB / 288.1 MB, free: 8.871 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.004838, allocations: 133.5 kB / 288.3 MB, free: 8.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.004846, allocations: 2.094 kB / 288.3 MB, free: 8.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.004869, allocations: 9.969 kB / 288.3 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.004997, allocations: 80.88 kB / 288.4 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.005006, allocations: 5.781 kB / 288.4 MB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.005017, allocations: 4 kB / 288.4 MB, free: 8.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.005021, allocations: 5.781 kB / 288.4 MB, free: 8.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.793e-05/0.005069, allocations: 19.56 kB / 288.4 MB, free: 8.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.005486, allocations: 276.4 kB / 288.7 MB, free: 8.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.005622, allocations: 56.39 kB / 288.7 MB, free: 8.371 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.005645, allocations: 12.14 kB / 288.7 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.005659, allocations: 1.406 kB / 288.7 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.005677, allocations: 32.03 kB / 288.8 MB, free: 8.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.005678, allocations: 4 kB / 288.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001262/0.005805, allocations: 65.59 kB / 288.8 MB, free: 8.273 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.005832, allocations: 56.91 kB / 288.9 MB, free: 8.207 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.589e-05/0.005898, allocations: 131.4 kB / 289 MB, free: 8.086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.005913, allocations: 25.7 kB / 289 MB, free: 8.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.005951, allocations: 105.6 kB / 289.1 MB, free: 7.953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.005971, allocations: 22.97 kB / 289.2 MB, free: 7.934 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.006007, allocations: 28.31 kB / 289.2 MB, free: 7.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.006079, allocations: 325.5 kB / 289.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.006096, allocations: 5.5 kB / 289.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.006127, allocations: 38.42 kB / 289.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.443e-05/0.006181, allocations: 54.59 kB / 289.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006183, allocations: 0 / 289.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.06e-05/0.006264, allocations: 69.67 kB / 289.7 MB, free: 7.449 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.006276, allocations: 5.188 kB / 289.7 MB, free: 7.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.00628, allocations: 1.156 kB / 289.7 MB, free: 7.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.006287, allocations: 5.094 kB / 289.7 MB, free: 7.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.006417, allocations: 40.97 kB / 289.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.006421, allocations: 2.188 kB / 289.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.893e-05/0.006459, allocations: 16.58 kB / 289.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.006465, allocations: 2.688 kB / 289.7 MB, free: 7.418 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 5.396e-05/0.006519, allocations: 120.2 kB / 289.9 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.006536, allocations: 3.969 kB / 289.9 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.956e-05/0.006636, allocations: 72.39 kB / 289.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.006638, allocations: 2.094 kB / 289.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.00664, allocations: 0 / 289.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006642, allocations: 4 kB / 289.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.006763, allocations: 98.83 kB / 290 MB, free: 7.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.006764, allocations: 1.281 kB / 290 MB, free: 7.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-05/0.006855, allocations: 36.28 kB / 290.1 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.006869, allocations: 13.97 kB / 290.1 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.00687, allocations: 1.312 kB / 290.1 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.006879, allocations: 0 / 290.1 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.00688, allocations: 1.312 kB / 290.1 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.006881, allocations: 3.984 kB / 290.1 MB, free: 7.105 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.007004, allocations: 170.4 kB / 290.3 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.007016, allocations: 9.062 kB / 290.3 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.514e-05/0.007062, allocations: 3.344 kB / 290.3 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.007088, allocations: 6.234 kB / 290.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.007091, allocations: 1.062 kB / 290.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.961e-05/0.007111, allocations: 29.33 kB / 290.3 MB, free: 6.922 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007111, allocations: 1.062 kB / 290.3 MB, free: 6.922 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000127/0.007238, allocations: 16.84 kB / 290.3 MB, free: 6.922 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * 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 (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 Backend phase and start with SimCode phase: time 6.077e-05/0.007299, allocations: 77.64 kB / 290.4 MB, free: 6.852 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.264e-05/0.007381, allocations: 49.03 kB / 290.5 MB, free: 6.824 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.007387, allocations: 1.125 kB / 290.5 MB, free: 6.824 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.007415, allocations: 25.95 kB / 290.5 MB, free: 6.809 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.007549, allocations: 21.5 kB / 290.5 MB, free: 6.801 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.009378, allocations: 312.6 kB / 290.8 MB, free: 6.566 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.371e-05/0.009411, allocations: 63.59 kB / 290.9 MB, free: 6.492 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.798e-05/0.009449, allocations: 8.391 kB / 290.9 MB, free: 6.484 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.403e-05/0.009513, allocations: 62.36 kB / 290.9 MB, free: 6.434 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009514, allocations: 1.75 kB / 290.9 MB, free: 6.434 MB / 282.7 MB Notification: Performance of Templates: time 0.002462/0.01198, allocations: 1.213 MB / 292.2 MB, free: 5.809 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7913253223523498]