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.001024/0.001024, allocations: 106.1 kB / 16.62 MB, free: 6.809 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.0009879/0.0009879, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.255/1.255, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1627/0.1627, allocations: 38.04 MB / 329.4 MB, free: 9.047 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 61.38 kB / 398.4 MB, free: 34.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.1016, allocations: 58.06 MB / 456.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003617/0.1053, allocations: 2.483 MB / 458.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006418/0.1059, allocations: 431 kB / 459.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.106, allocations: 4 kB / 459.4 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.734e-05/0.1061, allocations: 7.875 kB / 459.4 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.1063, allocations: 27.84 kB / 459.4 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.896e-05/0.1064, allocations: 15.97 kB / 459.4 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1066, allocations: 107.6 kB / 459.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1067, allocations: 19.97 kB / 459.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1068, allocations: 51.72 kB / 459.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.477e-05/0.1069, allocations: 43.83 kB / 459.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.1069, allocations: 8 kB / 459.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.1069, allocations: 8 kB / 459.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.107, allocations: 19.92 kB / 459.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.107, allocations: 51.72 kB / 459.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.1072, allocations: 87.97 kB / 459.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1072, allocations: 0 / 459.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1072, allocations: 0 / 459.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1072, allocations: 3.938 kB / 459.8 MB, free: 4.957 MB / 334.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.0006906/0.1079, allocations: 415.1 kB / 460.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1079, allocations: 15.89 kB / 460.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.108, allocations: 34.75 kB / 460.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.108, allocations: 12.84 kB / 460.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.1082, allocations: 196 kB / 460.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1082, allocations: 4.375 kB / 460.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.1083, allocations: 7.938 kB / 460.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.1085, allocations: 93.58 kB / 460.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1085, allocations: 4 kB / 460.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1086, allocations: 0 / 460.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1086, allocations: 4 kB / 460.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.1088, allocations: 71.94 kB / 460.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/0.1095, allocations: 457.2 kB / 461.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.1098, allocations: 94.66 kB / 461.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.11, allocations: 40.83 kB / 461.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.11, allocations: 3.938 kB / 461.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.11, allocations: 30.56 kB / 461.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.11, allocations: 0 / 461.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004033/0.1104, allocations: 149.6 kB / 461.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.1105, allocations: 55.41 kB / 461.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1106, allocations: 137.8 kB / 461.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1106, allocations: 25.7 kB / 461.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.1107, allocations: 103.9 kB / 461.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.1107, allocations: 23.8 kB / 461.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.1107, allocations: 29.7 kB / 461.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.1109, allocations: 322.8 kB / 462.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.111, allocations: 35.92 kB / 462.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.1111, allocations: 59.34 kB / 462.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.1113, allocations: 103.3 kB / 462.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1113, allocations: 0 / 462.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003037/0.1117, allocations: 133.5 kB / 462.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1117, allocations: 4 kB / 462.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1117, allocations: 4.094 kB / 462.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1117, allocations: 7.938 kB / 462.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1119, allocations: 31.92 kB / 462.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1119, allocations: 3.938 kB / 462.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.112, allocations: 23.83 kB / 462.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.112, allocations: 4 kB / 462.5 MB, free: 2 MB / 334.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 7.359e-05/0.1121, allocations: 113.8 kB / 462.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.1121, allocations: 7.906 kB / 462.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.1124, allocations: 130.3 kB / 462.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1124, allocations: 3.938 kB / 462.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1125, allocations: 0 / 462.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1125, allocations: 0 / 462.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.1127, allocations: 201.6 kB / 462.9 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1127, allocations: 0 / 462.9 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.1129, allocations: 23.98 kB / 463 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1129, allocations: 0 / 463 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1129, allocations: 12 kB / 463 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1129, allocations: 7.922 kB / 463 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1129, allocations: 0 / 463 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.1133, allocations: 255.3 kB / 463.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.1134, allocations: 88.95 kB / 463.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.1134, allocations: 0 / 463.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1135, allocations: 19.98 kB / 463.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.1136, allocations: 4 kB / 463.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.1136, allocations: 4 kB / 463.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.471e-05/0.1137, allocations: 110 kB / 463.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1137, allocations: 0 / 463.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1139, allocations: 20 kB / 463.5 MB, free: 0.918 MB / 334.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.0006134/0.1145, allocations: 0.7748 MB / 464.2 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.1148, allocations: 92.48 kB / 464.3 MB, free: 28 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1148, allocations: 192 / 464.3 MB, free: 28 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.1149, allocations: 48.38 kB / 464.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1153, allocations: 26.3 kB / 464.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.1172, allocations: 1.758 MB / 466.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.1174, allocations: 0.6963 MB / 466.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.975e-05/0.1175, allocations: 12.64 kB / 466.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.1175, allocations: 31.44 kB / 466.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1175, allocations: 0 / 466.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.1296, allocations: 2.219 MB / 469.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.1299, allocations: 194.5 kB / 469.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/1.86, allocations: 0 / 469.3 MB, free: 10.98 MB / 350.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