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.001282/0.001282, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001072/0.001072, allocations: 200 kB / 18.01 MB, free: 5.055 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.413/1.413, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1819/0.1819, allocations: 38.04 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.89 kB / 458.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6044/0.6058, allocations: 58.06 MB / 0.5041 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.008795/0.6146, allocations: 2.444 MB / 0.5065 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.6161, allocations: 435.7 kB / 0.5069 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.6164, allocations: 5.281 kB / 0.5069 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.6166, allocations: 10.97 kB / 0.5069 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.617, allocations: 30.67 kB / 0.5069 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.6172, allocations: 20.41 kB / 0.507 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.6176, allocations: 104.1 kB / 0.5071 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.6178, allocations: 23.06 kB / 0.5071 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.618, allocations: 41.89 kB / 0.5071 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.6182, allocations: 53.8 kB / 0.5072 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.6182, allocations: 7.375 kB / 0.5072 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.595e-05/0.6183, allocations: 8.656 kB / 0.5072 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.6184, allocations: 17.52 kB / 0.5072 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.113e-05/0.6185, allocations: 41.31 kB / 0.5072 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.6187, allocations: 99.17 kB / 0.5073 GB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.6188, allocations: 0 / 0.5073 GB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6188, allocations: 0 / 0.5073 GB, free: 5.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.6188, allocations: 1.094 kB / 0.5073 GB, free: 5.562 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.001014/0.6198, allocations: 414.1 kB / 0.5077 GB, free: 5.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.6199, allocations: 14.08 kB / 0.5077 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.62, allocations: 9.531 kB / 0.5078 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.6203, allocations: 196 kB / 0.5079 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.6204, allocations: 10.62 kB / 0.508 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.6204, allocations: 9.219 kB / 0.508 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.6209, allocations: 94.97 kB / 0.5081 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.6209, allocations: 0 / 0.5081 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.6209, allocations: 1.031 kB / 0.5081 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.621, allocations: 2.781 kB / 0.5081 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.6214, allocations: 68.09 kB / 0.5081 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.6228, allocations: 473.5 kB / 0.5086 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.6233, allocations: 93.95 kB / 0.5087 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.6235, allocations: 37.11 kB / 0.5087 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.6236, allocations: 1.125 kB / 0.5087 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.6236, allocations: 40.3 kB / 0.5087 GB, free: 4.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/0.6236, allocations: 0 / 0.5087 GB, free: 4.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008018/0.6245, allocations: 136.3 kB / 0.5089 GB, free: 4.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.6245, allocations: 56.5 kB / 0.5089 GB, free: 4.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.6247, allocations: 146.9 kB / 0.5091 GB, free: 4.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.6247, allocations: 25.7 kB / 0.5091 GB, free: 4.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.6248, allocations: 108.4 kB / 0.5092 GB, free: 3.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.6249, allocations: 24.22 kB / 0.5092 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/0.625, allocations: 26 kB / 0.5092 GB, free: 3.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.625, allocations: 320.2 kB / 0.5095 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.6252, allocations: 32.75 kB / 0.5096 GB, free: 3.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.6255, allocations: 68.61 kB / 0.5096 GB, free: 3.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.6259, allocations: 101.7 kB / 0.5097 GB, free: 3.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6259, allocations: 1.094 kB / 0.5097 GB, free: 3.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005368/0.6264, allocations: 135.4 kB / 0.5099 GB, free: 3.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.6265, allocations: 5.094 kB / 0.5099 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6265, allocations: 1.125 kB / 0.5099 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.6265, allocations: 2.312 kB / 0.5099 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.6268, allocations: 29.88 kB / 0.5099 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.6269, allocations: 2.156 kB / 0.5099 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.6271, allocations: 20.88 kB / 0.5099 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.6271, allocations: 2.969 kB / 0.5099 GB, free: 3.406 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 0.0001216/0.6273, allocations: 119.1 kB / 0.51 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.6273, allocations: 8.281 kB / 0.5101 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005686/0.6279, allocations: 122.3 kB / 0.5102 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.6279, allocations: 5 kB / 0.5102 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.6279, allocations: 0 / 0.5102 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.628, allocations: 5.422 kB / 0.5102 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.6284, allocations: 205.1 kB / 0.5104 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6284, allocations: 8.688 kB / 0.5104 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.6287, allocations: 23.77 kB / 0.5104 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.6287, allocations: 1.156 kB / 0.5104 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.6287, allocations: 8.547 kB / 0.5104 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.6288, allocations: 5.188 kB / 0.5104 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6288, allocations: 0.6094 kB / 0.5104 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/0.6295, allocations: 253.9 kB / 0.5107 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.6296, allocations: 88.95 kB / 0.5107 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.6297, allocations: 2.156 kB / 0.5107 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.6299, allocations: 14.2 kB / 0.5108 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.63, allocations: 8.938 kB / 0.5108 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.63, allocations: 2.469 kB / 0.5108 GB, free: 2.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.6301, allocations: 107.6 kB / 0.5109 GB, free: 2.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6301, allocations: 0 / 0.5109 GB, free: 2.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004827/0.6306, allocations: 26.03 kB / 0.5109 GB, free: 2.602 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 0.0001405/0.6308, allocations: 92.98 kB / 0.511 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005285/0.6313, allocations: 81.92 kB / 0.5111 GB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6314, allocations: 0 / 0.5111 GB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.6316, allocations: 47.11 kB / 0.5111 GB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.6321, allocations: 17.02 kB / 0.5111 GB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.6333, allocations: 332.6 kB / 0.5114 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.6335, allocations: 0.6961 MB / 0.5121 GB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.546e-05/0.6336, allocations: 10.05 kB / 0.5121 GB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.6337, allocations: 12.5 kB / 0.5121 GB, free: 1.531 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.6337, allocations: 0 / 0.5121 GB, free: 1.531 MB / 382.1 MB Notification: Performance of Templates: time 0.007458/0.6412, allocations: 1.052 MB / 0.5132 GB, free: 1.422 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches