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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|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=5000,variableFilter="Time|rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 111 kB / 17.74 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 192.3 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1869/0.1869, allocations: 38.04 MB / 330.6 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.91 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3526, allocations: 58.07 MB / 0.5048 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003681/0.3563, allocations: 2.446 MB / 0.5071 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006004/0.3569, allocations: 435.9 kB / 0.5076 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-05/0.357, allocations: 1.125 kB / 0.5076 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.3571, allocations: 11.75 kB / 0.5076 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.3573, allocations: 31.02 kB / 0.5076 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.3574, allocations: 28.19 kB / 0.5076 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.3576, allocations: 99.94 kB / 0.5077 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3577, allocations: 20.27 kB / 0.5077 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.3578, allocations: 47.91 kB / 0.5078 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3579, allocations: 45.36 kB / 0.5078 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.3579, allocations: 7.562 kB / 0.5078 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.247e-05/0.358, allocations: 6.906 kB / 0.5078 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.358, allocations: 22.77 kB / 0.5079 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.3581, allocations: 45.05 kB / 0.5079 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.3582, allocations: 98.12 kB / 0.508 GB, free: 5.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3582, allocations: 1.844 kB / 0.508 GB, free: 5.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3582, allocations: 0 / 0.508 GB, free: 5.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.3583, allocations: 0 / 0.508 GB, free: 5.582 MB / 382.1 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.0006203/0.3589, allocations: 415.1 kB / 0.5084 GB, free: 5.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3589, allocations: 13.12 kB / 0.5084 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.359, allocations: 10.06 kB / 0.5084 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3592, allocations: 193.9 kB / 0.5086 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3592, allocations: 2.906 kB / 0.5086 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.3592, allocations: 12.97 kB / 0.5086 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.3595, allocations: 90.42 kB / 0.5087 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3595, allocations: 3.938 kB / 0.5087 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3595, allocations: 5.281 kB / 0.5087 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3595, allocations: 1.344 kB / 0.5087 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.3598, allocations: 73.02 kB / 0.5088 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/0.3605, allocations: 458.1 kB / 0.5092 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.3609, allocations: 97.25 kB / 0.5093 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.361, allocations: 45.19 kB / 0.5094 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.361, allocations: 1.125 kB / 0.5094 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.361, allocations: 32.45 kB / 0.5094 GB, free: 4.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.361, allocations: 3.938 kB / 0.5094 GB, free: 4.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004507/0.3615, allocations: 147.3 kB / 0.5095 GB, free: 4.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.3615, allocations: 57.19 kB / 0.5096 GB, free: 4.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3616, allocations: 141 kB / 0.5097 GB, free: 4.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3617, allocations: 30.58 kB / 0.5098 GB, free: 4.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.3617, allocations: 106.5 kB / 0.5099 GB, free: 3.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.3617, allocations: 25.89 kB / 0.5099 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.3618, allocations: 21.77 kB / 0.5099 GB, free: 3.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.3619, allocations: 323.8 kB / 0.5102 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.362, allocations: 33.66 kB / 0.5102 GB, free: 3.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3621, allocations: 59.27 kB / 0.5103 GB, free: 3.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.3624, allocations: 101.9 kB / 0.5104 GB, free: 3.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3624, allocations: 1.156 kB / 0.5104 GB, free: 3.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002996/0.3627, allocations: 131.6 kB / 0.5105 GB, free: 3.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3627, allocations: 5.25 kB / 0.5105 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3627, allocations: 5.156 kB / 0.5105 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3627, allocations: 2.281 kB / 0.5105 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.3629, allocations: 34.62 kB / 0.5106 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3629, allocations: 1.438 kB / 0.5106 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.363, allocations: 12.84 kB / 0.5106 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.363, allocations: 3.094 kB / 0.5106 GB, free: 3.434 MB / 382.1 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 6.365e-05/0.3631, allocations: 118.6 kB / 0.5107 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.3631, allocations: 9.141 kB / 0.5107 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.3635, allocations: 128.8 kB / 0.5108 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3635, allocations: 5.094 kB / 0.5108 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3635, allocations: 1.672 kB / 0.5108 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3635, allocations: 0 / 0.5108 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.3637, allocations: 205.2 kB / 0.511 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3637, allocations: 1.062 kB / 0.511 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.3639, allocations: 23.84 kB / 0.5111 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3639, allocations: 1.219 kB / 0.5111 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.3639, allocations: 4.656 kB / 0.5111 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3639, allocations: 5.125 kB / 0.5111 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3639, allocations: 4.406 kB / 0.5111 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.3644, allocations: 258.7 kB / 0.5113 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.3644, allocations: 89.09 kB / 0.5114 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.3644, allocations: 13.16 kB / 0.5114 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.3645, allocations: 10.53 kB / 0.5114 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.3646, allocations: 5.625 kB / 0.5114 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.3646, allocations: 1.812 kB / 0.5114 GB, free: 2.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.598e-05/0.3647, allocations: 116.2 kB / 0.5115 GB, free: 2.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3647, allocations: 0 / 0.5115 GB, free: 2.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.3649, allocations: 17.19 kB / 0.5116 GB, free: 2.625 MB / 382.1 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 8.126e-05/0.365, allocations: 98.11 kB / 0.5117 GB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.3653, allocations: 84.92 kB / 0.5117 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3653, allocations: 1.031 kB / 0.5117 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.3654, allocations: 42.53 kB / 0.5118 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.3657, allocations: 13.69 kB / 0.5118 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.3664, allocations: 358.1 kB / 0.5121 GB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.3665, allocations: 0.6964 MB / 0.5128 GB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.3666, allocations: 12.72 kB / 0.5128 GB, free: 1.535 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3666, allocations: 0 / 0.5128 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Templates: time 0.003181/0.3697, allocations: 1.28 MB / 0.5141 GB, free: 1.438 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.makefile (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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches