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.001504/0.001504, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.001681/0.001681, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.267/1.267, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1695/0.1695, allocations: 38.04 MB / 329.7 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 61.59 kB / 398.9 MB, free: 33.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08433/0.0856, allocations: 58.06 MB / 457 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003673/0.08931, allocations: 2.446 MB / 459.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005273/0.08986, allocations: 442.9 kB / 459.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.08993, allocations: 4 kB / 459.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.857e-05/0.09002, allocations: 7.875 kB / 459.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.09014, allocations: 27.78 kB / 459.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.09026, allocations: 23.95 kB / 459.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.09041, allocations: 103.6 kB / 460 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.09053, allocations: 15.98 kB / 460 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.925e-05/0.09063, allocations: 47.8 kB / 460.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.09072, allocations: 39.83 kB / 460.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.09075, allocations: 8 kB / 460.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.09078, allocations: 12 kB / 460.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.574e-05/0.09082, allocations: 27.91 kB / 460.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.09087, allocations: 43.73 kB / 460.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.09099, allocations: 87.95 kB / 460.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.091, allocations: 0 / 460.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.091, allocations: 0 / 460.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.09101, allocations: 3.938 kB / 460.3 MB, free: 4.621 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.0005998/0.09162, allocations: 419.1 kB / 460.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.09166, allocations: 11.89 kB / 460.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.0917, allocations: 38.75 kB / 460.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.09173, allocations: 8.844 kB / 460.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.0919, allocations: 200 kB / 461 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.09191, allocations: 4.359 kB / 461 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.09194, allocations: 15.88 kB / 461 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.09218, allocations: 93.58 kB / 461.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.0922, allocations: 4 kB / 461.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.09221, allocations: 0 / 461.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.09222, allocations: 0 / 461.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.09245, allocations: 75.89 kB / 461.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007135/0.09317, allocations: 457.3 kB / 461.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.0935, allocations: 94.59 kB / 461.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.09363, allocations: 44.83 kB / 461.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.09365, allocations: 0 / 461.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.09367, allocations: 30.56 kB / 461.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.09368, allocations: 4 kB / 461.8 MB, free: 2.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004189/0.09411, allocations: 133.5 kB / 461.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.09415, allocations: 63.33 kB / 462 MB, free: 2.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.09427, allocations: 136.8 kB / 462.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.09429, allocations: 25.7 kB / 462.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.09435, allocations: 112.1 kB / 462.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.09438, allocations: 27.8 kB / 462.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.09444, allocations: 25.7 kB / 462.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.09455, allocations: 314.8 kB / 462.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.09467, allocations: 35.97 kB / 462.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.0948, allocations: 59.41 kB / 462.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.09505, allocations: 107.6 kB / 462.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.09506, allocations: 0 / 462.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002911/0.09536, allocations: 125.6 kB / 462.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.09538, allocations: 4 kB / 462.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.09539, allocations: 7.984 kB / 462.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.09542, allocations: 7.938 kB / 462.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.09557, allocations: 31.92 kB / 463 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.09559, allocations: 3.938 kB / 463 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.0957, allocations: 19.83 kB / 463 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.09571, allocations: 4 kB / 463 MB, free: 1.664 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.408e-05/0.09579, allocations: 117.9 kB / 463.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.09583, allocations: 11.91 kB / 463.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.09615, allocations: 126.3 kB / 463.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.09616, allocations: 3.938 kB / 463.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.09617, allocations: 192 / 463.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.09618, allocations: 0 / 463.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.09642, allocations: 209.5 kB / 463.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.09643, allocations: 0 / 463.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.09658, allocations: 27.98 kB / 463.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.09659, allocations: 0 / 463.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.09661, allocations: 4 kB / 463.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.09662, allocations: 3.938 kB / 463.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.09662, allocations: 0 / 463.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.09706, allocations: 259.3 kB / 463.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.09712, allocations: 92.95 kB / 463.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.09714, allocations: 0 / 463.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.09727, allocations: 15.92 kB / 463.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.09731, allocations: 0 / 463.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.09732, allocations: 4 kB / 463.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.305e-05/0.09739, allocations: 114.2 kB / 463.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0974, allocations: 0 / 463.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.09764, allocations: 16 kB / 464 MB, free: 0.5781 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.000679/0.09832, allocations: 0.7827 MB / 464.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.09861, allocations: 92 kB / 464.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.09863, allocations: 4 kB / 464.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.09875, allocations: 35.98 kB / 464.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.09904, allocations: 23.58 kB / 464.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.101, allocations: 1.735 MB / 466.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.1012, allocations: 0.6924 MB / 467.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.686e-05/0.1013, allocations: 12.66 kB / 467.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.1013, allocations: 27.44 kB / 467.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1013, allocations: 0 / 467.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.1189, allocations: 2.35 MB / 469.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/6.977, allocations: 11.91 kB / 469.7 MB, free: 10.73 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