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.001163/0.001163, allocations: 112.2 kB / 16.51 MB, free: 6.715 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.00118/0.00118, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.188/1.188, allocations: 222.9 MB / 241.1 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1579/0.1579, allocations: 38.04 MB / 329.3 MB, free: 9.066 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 63.84 kB / 398.2 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07711/0.07818, allocations: 58.06 MB / 456.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003194/0.0814, allocations: 2.487 MB / 458.7 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004457/0.08186, allocations: 431 kB / 459.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.08192, allocations: 4 kB / 459.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.934e-05/0.08201, allocations: 3.938 kB / 459.2 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.08212, allocations: 27.78 kB / 459.2 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.756e-05/0.0822, allocations: 19.97 kB / 459.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.08232, allocations: 95.59 kB / 459.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.08241, allocations: 23.97 kB / 459.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.252e-05/0.0825, allocations: 35.86 kB / 459.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/0.08258, allocations: 47.77 kB / 459.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.0826, allocations: 4 kB / 459.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.08263, allocations: 4 kB / 459.4 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.08265, allocations: 19.86 kB / 459.4 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.08271, allocations: 47.77 kB / 459.5 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.616e-05/0.08281, allocations: 83.92 kB / 459.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.08282, allocations: 0 / 459.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.08283, allocations: 4 kB / 459.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.08284, allocations: 0 / 459.6 MB, free: 5.098 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.0005591/0.0834, allocations: 415.1 kB / 460 MB, free: 4.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.08344, allocations: 12.03 kB / 460 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.08348, allocations: 34.75 kB / 460 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.08351, allocations: 8.844 kB / 460 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.08366, allocations: 200 kB / 460.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.08368, allocations: 8.375 kB / 460.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.08371, allocations: 7.938 kB / 460.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.08394, allocations: 97.52 kB / 460.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.08395, allocations: 0 / 460.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.08397, allocations: 4 kB / 460.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.08398, allocations: 0 / 460.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.0842, allocations: 75.94 kB / 460.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.0849, allocations: 457.2 kB / 460.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.08521, allocations: 94.66 kB / 461 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.08534, allocations: 40.83 kB / 461 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.08537, allocations: 3.984 kB / 461 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.08539, allocations: 30.56 kB / 461 MB, free: 3.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.0854, allocations: 0 / 461 MB, free: 3.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004021/0.08581, allocations: 141.4 kB / 461.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.08584, allocations: 55.41 kB / 461.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/0.08594, allocations: 141.8 kB / 461.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.08596, allocations: 25.7 kB / 461.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.08601, allocations: 103.9 kB / 461.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.08604, allocations: 23.95 kB / 461.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.08609, allocations: 25.7 kB / 461.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.08618, allocations: 322.8 kB / 461.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.08629, allocations: 31.98 kB / 461.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.08642, allocations: 67.28 kB / 461.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.08664, allocations: 103.7 kB / 462 MB, free: 2.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.08665, allocations: 0 / 462 MB, free: 2.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002791/0.08693, allocations: 133.4 kB / 462.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.08695, allocations: 8 kB / 462.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.08696, allocations: 0 / 462.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.08698, allocations: 3.938 kB / 462.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.08714, allocations: 32.08 kB / 462.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.08715, allocations: 0 / 462.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.08726, allocations: 23.83 kB / 462.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.08727, allocations: 4 kB / 462.2 MB, free: 2.148 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.903e-05/0.08736, allocations: 117.8 kB / 462.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.08739, allocations: 11.91 kB / 462.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.0877, allocations: 122.5 kB / 462.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.08771, allocations: 7.938 kB / 462.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.08772, allocations: 3.938 kB / 462.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.08773, allocations: 0 / 462.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.08796, allocations: 205.6 kB / 462.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.08797, allocations: 0 / 462.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.08813, allocations: 27.92 kB / 462.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.08814, allocations: 3.984 kB / 462.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.08816, allocations: 4 kB / 462.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.08816, allocations: 3.938 kB / 462.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.08817, allocations: 4 kB / 462.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.08859, allocations: 247.4 kB / 463 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.08863, allocations: 88.95 kB / 463.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.08866, allocations: 0 / 463.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.08879, allocations: 15.92 kB / 463.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.08884, allocations: 8.062 kB / 463.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.08885, allocations: 3.984 kB / 463.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.947e-05/0.08891, allocations: 110.1 kB / 463.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08892, allocations: 0 / 463.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.08915, allocations: 24 kB / 463.2 MB, free: 1.059 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.0006191/0.08977, allocations: 0.7788 MB / 464 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.09003, allocations: 83.89 kB / 464.1 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.09004, allocations: 0 / 464.1 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.09016, allocations: 47.84 kB / 464.1 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.09043, allocations: 20.12 kB / 464.2 MB, free: 108 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.09232, allocations: 1.757 MB / 465.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.09257, allocations: 0.7005 MB / 466.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.694e-05/0.09264, allocations: 4.656 kB / 466.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.09271, allocations: 31.42 kB / 466.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09271, allocations: 0 / 466.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0115/0.1042, allocations: 2.154 MB / 468.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.1044, allocations: 194.2 kB / 469 MB, free: 11.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/1.668, allocations: 0 / 469 MB, free: 11.17 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","../files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches