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: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 107.9 kB / 17.06 MB, free: 6.004 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.001233/0.001233, allocations: 189.4 kB / 18 MB, free: 5.09 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.387/1.387, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1807/0.1807, allocations: 38.05 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.91 kB / 457.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2928, allocations: 58.05 MB / 0.5036 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004943/0.2978, allocations: 2.453 MB / 0.506 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008498/0.2986, allocations: 443.5 kB / 0.5064 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.633e-05/0.2988, allocations: 1.156 kB / 0.5064 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.2989, allocations: 11.81 kB / 0.5064 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.2991, allocations: 26.17 kB / 0.5065 GB, free: 5.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.2992, allocations: 28.45 kB / 0.5065 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.2995, allocations: 100.5 kB / 0.5066 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2996, allocations: 20.45 kB / 0.5066 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.2998, allocations: 39.52 kB / 0.5066 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.2999, allocations: 49.09 kB / 0.5067 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.3, allocations: 7.312 kB / 0.5067 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.082e-05/0.3, allocations: 8.219 kB / 0.5067 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.3, allocations: 21.92 kB / 0.5067 GB, free: 5.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.991e-05/0.3001, allocations: 44.91 kB / 0.5068 GB, free: 5.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.3003, allocations: 93.84 kB / 0.5069 GB, free: 5.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3004, allocations: 5.062 kB / 0.5069 GB, free: 5.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3004, allocations: 0 / 0.5069 GB, free: 5.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3004, allocations: 0 / 0.5069 GB, free: 5.191 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.000789/0.3012, allocations: 418 kB / 0.5073 GB, free: 4.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3012, allocations: 12.45 kB / 0.5073 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.3013, allocations: 38.36 kB / 0.5073 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.3014, allocations: 10.3 kB / 0.5073 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.3016, allocations: 198.3 kB / 0.5075 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3016, allocations: 3.375 kB / 0.5075 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.3017, allocations: 13.19 kB / 0.5075 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.302, allocations: 91.59 kB / 0.5076 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3021, allocations: 5.188 kB / 0.5076 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.3021, allocations: 4 kB / 0.5076 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3021, allocations: 5.938 kB / 0.5076 GB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.3025, allocations: 68.88 kB / 0.5077 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.3036, allocations: 462.7 kB / 0.5081 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.3041, allocations: 95.59 kB / 0.5082 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.3043, allocations: 46.81 kB / 0.5083 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3043, allocations: 1.125 kB / 0.5083 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.3044, allocations: 31.69 kB / 0.5083 GB, free: 3.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.325e-06/0.3044, allocations: 3.516 kB / 0.5083 GB, free: 3.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007281/0.3051, allocations: 144.4 kB / 0.5084 GB, free: 3.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.3051, allocations: 52.56 kB / 0.5085 GB, free: 3.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3053, allocations: 138.2 kB / 0.5086 GB, free: 3.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3053, allocations: 30.83 kB / 0.5087 GB, free: 3.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.3054, allocations: 103.6 kB / 0.5088 GB, free: 3.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.3054, allocations: 24.86 kB / 0.5088 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.3055, allocations: 25.75 kB / 0.5088 GB, free: 3.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.3056, allocations: 320.3 kB / 0.5091 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.3058, allocations: 32.72 kB / 0.5091 GB, free: 3.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.306, allocations: 60.5 kB / 0.5092 GB, free: 3.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.3065, allocations: 102.2 kB / 0.5093 GB, free: 3.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3065, allocations: 1.344 kB / 0.5093 GB, free: 3.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005372/0.307, allocations: 135.3 kB / 0.5094 GB, free: 3.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3071, allocations: 8.594 kB / 0.5094 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3071, allocations: 1.406 kB / 0.5094 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.3071, allocations: 5.953 kB / 0.5094 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.3074, allocations: 27.16 kB / 0.5095 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3074, allocations: 1.469 kB / 0.5095 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.3076, allocations: 16.27 kB / 0.5095 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.3077, allocations: 7.453 kB / 0.5095 GB, free: 2.992 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 8.588e-05/0.3078, allocations: 122.5 kB / 0.5096 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.3078, allocations: 11.8 kB / 0.5096 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/0.3084, allocations: 118.3 kB / 0.5097 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3084, allocations: 6.047 kB / 0.5097 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3084, allocations: 0 / 0.5097 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3084, allocations: 0.5625 kB / 0.5097 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.3088, allocations: 213.6 kB / 0.5099 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3088, allocations: 0.7031 kB / 0.5099 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.3091, allocations: 32.02 kB / 0.51 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.3091, allocations: 4 kB / 0.51 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3091, allocations: 1.531 kB / 0.51 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3091, allocations: 4.547 kB / 0.51 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3091, allocations: 1.594 kB / 0.51 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.3099, allocations: 254.4 kB / 0.5102 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.3099, allocations: 88.22 kB / 0.5103 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.31, allocations: 1.922 kB / 0.5103 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3102, allocations: 15.03 kB / 0.5103 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.3103, allocations: 8.875 kB / 0.5103 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.3103, allocations: 2.5 kB / 0.5103 GB, free: 2.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.084e-05/0.3104, allocations: 108.2 kB / 0.5104 GB, free: 2.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3104, allocations: 0 / 0.5104 GB, free: 2.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004657/0.3109, allocations: 17.53 kB / 0.5105 GB, free: 2.191 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.0008288/0.3117, allocations: 0.7959 MB / 0.5112 GB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004871/0.3122, allocations: 86.77 kB / 0.5113 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3123, allocations: 4.062 kB / 0.5113 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.3125, allocations: 43.31 kB / 0.5114 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.313, allocations: 12.83 kB / 0.5114 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.3158, allocations: 1.736 MB / 0.5131 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.3162, allocations: 0.6988 MB / 0.5138 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.149e-05/0.3163, allocations: 8.453 kB / 0.5138 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.803e-05/0.3164, allocations: 30.34 kB / 0.5138 GB, free: 15.26 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3165, allocations: 0 / 0.5138 GB, free: 15.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.341, allocations: 2.395 MB / 0.5161 GB, free: 14.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.1, allocations: 23.72 kB / 0.5161 GB, free: 14.81 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest.fmu > 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