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.0008442/0.0008443, allocations: 88.89 kB / 16.65 MB, free: 6.535 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.0009389/0.0009389, allocations: 176.4 kB / 17.56 MB, free: 6.18 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.213/1.213, allocations: 223.2 MB / 241.6 MB, free: 14.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1614/0.1614, allocations: 38.09 MB / 330.8 MB, free: 8.594 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.000289, allocations: 9.844 kB / 400.8 MB, free: 34.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08458/0.08488, allocations: 59.17 MB / 460 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002347/0.08726, allocations: 2.147 MB / 462.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00047/0.08774, allocations: 419.1 kB / 462.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.0878, allocations: 4 kB / 462.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.837e-05/0.08788, allocations: 7.922 kB / 462.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.08799, allocations: 23.84 kB / 462.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.756e-05/0.08808, allocations: 23.92 kB / 462.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.0882, allocations: 103.6 kB / 462.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.475e-05/0.08829, allocations: 15.98 kB / 462.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.074e-05/0.08839, allocations: 39.84 kB / 462.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/0.08847, allocations: 39.83 kB / 462.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.08849, allocations: 4 kB / 462.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.08851, allocations: 4 kB / 462.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.08854, allocations: 23.91 kB / 462.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.0886, allocations: 65.44 kB / 462.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.839e-05/0.0887, allocations: 83.94 kB / 463 MB, free: 3.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.08871, allocations: 0 / 463 MB, free: 3.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.08872, allocations: 0 / 463 MB, free: 3.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.08873, allocations: 0 / 463 MB, free: 3.938 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.0004949/0.08923, allocations: 407.2 kB / 463.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.08927, allocations: 15.91 kB / 463.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/0.08931, allocations: 38.75 kB / 463.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.08935, allocations: 12.75 kB / 463.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.0895, allocations: 188.2 kB / 463.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.08952, allocations: 4.375 kB / 463.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.08955, allocations: 11.94 kB / 463.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.08978, allocations: 101.1 kB / 463.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.0898, allocations: 7.938 kB / 463.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.08982, allocations: 0 / 463.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.08983, allocations: 7.938 kB / 463.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.09007, allocations: 83.94 kB / 463.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.09073, allocations: 461.2 kB / 464.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.09103, allocations: 98.61 kB / 464.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.09116, allocations: 44.83 kB / 464.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.09118, allocations: 0 / 464.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.0912, allocations: 34.56 kB / 464.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.09122, allocations: 0 / 464.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004226/0.09165, allocations: 157.6 kB / 464.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.09169, allocations: 55.41 kB / 464.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.784e-05/0.09179, allocations: 141.8 kB / 464.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.09181, allocations: 25.7 kB / 464.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.09186, allocations: 100 kB / 464.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.09189, allocations: 31.92 kB / 465 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.09193, allocations: 17.72 kB / 465 MB, free: 1.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.09202, allocations: 318.8 kB / 465.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.09214, allocations: 35.98 kB / 465.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.09227, allocations: 67.41 kB / 465.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.09252, allocations: 115.4 kB / 465.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.09253, allocations: 0 / 465.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002974/0.09283, allocations: 149.4 kB / 465.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.09285, allocations: 4 kB / 465.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.09286, allocations: 4 kB / 465.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.09288, allocations: 3.938 kB / 465.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.09302, allocations: 27.98 kB / 465.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.09303, allocations: 0 / 465.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.09314, allocations: 27.95 kB / 465.7 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.09316, allocations: 3.938 kB / 465.7 MB, free: 0.9258 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.161e-05/0.09324, allocations: 113.8 kB / 465.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.09327, allocations: 11.91 kB / 465.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.09359, allocations: 142.3 kB / 466 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.0936, allocations: 3.938 kB / 466 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.09361, allocations: 0 / 466 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.09362, allocations: 0 / 466 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.09384, allocations: 209.7 kB / 466.2 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.09385, allocations: 0 / 466.2 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.094, allocations: 39.91 kB / 466.2 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.09401, allocations: 0 / 466.2 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.09403, allocations: 7.984 kB / 466.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.09404, allocations: 3.938 kB / 466.2 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.09404, allocations: 0 / 466.2 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.09448, allocations: 271.3 kB / 466.5 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.09453, allocations: 81.02 kB / 466.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.09456, allocations: 8.031 kB / 466.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.09468, allocations: 11.92 kB / 466.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.09472, allocations: 4 kB / 466.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.09474, allocations: 4 kB / 466.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.88e-05/0.0948, allocations: 114.4 kB / 466.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09481, allocations: 0 / 466.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.09504, allocations: 20 kB / 466.7 MB, free: 15.8 MB / 350.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.0006253/0.09567, allocations: 0.7983 MB / 467.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.09595, allocations: 96 kB / 467.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.09596, allocations: 0 / 467.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.09609, allocations: 47.97 kB / 467.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.09637, allocations: 16.5 kB / 467.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.09819, allocations: 1.836 MB / 469.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.09841, allocations: 0.6965 MB / 470.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.377e-05/0.09847, allocations: 8.656 kB / 470.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.09854, allocations: 31.42 kB / 470.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09855, allocations: 0 / 470.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.1174, allocations: 2.064 MB / 472.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.1176, allocations: 201.3 kB / 472.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/1.79, allocations: 0 / 472.5 MB, free: 9.914 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