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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002301/0.002301, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2561/0.2561, allocations: 38.55 MB / 353.2 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 59.91 kB / 493.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3585, allocations: 62.47 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.005397/0.3639, allocations: 2.522 MB / 0.5452 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008361/0.3648, allocations: 438.2 kB / 0.5456 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.329e-05/0.3649, allocations: 1.812 kB / 0.5456 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.365, allocations: 11.86 kB / 0.5456 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.3652, allocations: 23.72 kB / 0.5456 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.3653, allocations: 22.28 kB / 0.5456 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.3655, allocations: 104.9 kB / 0.5457 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3656, allocations: 19.86 kB / 0.5458 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.3658, allocations: 47.25 kB / 0.5458 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3659, allocations: 45.58 kB / 0.5458 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.366, allocations: 8.25 kB / 0.5458 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.444e-05/0.366, allocations: 6.875 kB / 0.5459 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.366, allocations: 22.66 kB / 0.5459 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.138e-05/0.3661, allocations: 34.8 kB / 0.5459 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.3663, allocations: 98.19 kB / 0.546 GB, free: 13.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.3663, allocations: 1.375 kB / 0.546 GB, free: 13.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3663, allocations: 7.938 kB / 0.546 GB, free: 13.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.3663, allocations: 0 / 0.546 GB, free: 13.65 MB / 398.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.0008276/0.3671, allocations: 335.2 kB / 0.5463 GB, free: 13.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.3672, allocations: 13.58 kB / 0.5463 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.427e-05/0.3672, allocations: 2.938 kB / 0.5463 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.3673, allocations: 40.11 kB / 0.5464 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.3673, allocations: 18.34 kB / 0.5464 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.3676, allocations: 134.6 kB / 0.5465 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3676, allocations: 10.88 kB / 0.5465 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.3677, allocations: 4 kB / 0.5465 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.368, allocations: 95.17 kB / 0.5466 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.368, allocations: 1.156 kB / 0.5466 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.368, allocations: 0 / 0.5466 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.368, allocations: 2.281 kB / 0.5466 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.3683, allocations: 74.45 kB / 0.5467 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008854/0.3692, allocations: 390.9 kB / 0.5471 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.3696, allocations: 93.19 kB / 0.5472 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.3697, allocations: 41.22 kB / 0.5472 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3697, allocations: 1.969 kB / 0.5472 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.3698, allocations: 31.59 kB / 0.5472 GB, free: 12.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3698, allocations: 0 / 0.5472 GB, free: 12.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004898/0.3702, allocations: 145.3 kB / 0.5474 GB, free: 12.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.3703, allocations: 52.97 kB / 0.5474 GB, free: 12.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.3705, allocations: 142.7 kB / 0.5476 GB, free: 12.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3705, allocations: 31.05 kB / 0.5476 GB, free: 12.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.3706, allocations: 108.4 kB / 0.5477 GB, free: 12.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.3706, allocations: 30.58 kB / 0.5477 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/0.3707, allocations: 24.61 kB / 0.5478 GB, free: 12.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3708, allocations: 321.4 kB / 0.5481 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.371, allocations: 37.86 kB / 0.5481 GB, free: 11.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3711, allocations: 56.56 kB / 0.5482 GB, free: 11.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.3714, allocations: 100 kB / 0.5482 GB, free: 11.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3714, allocations: 1.094 kB / 0.5482 GB, free: 11.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003376/0.3717, allocations: 136 kB / 0.5484 GB, free: 11.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3717, allocations: 6.219 kB / 0.5484 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.3717, allocations: 1.344 kB / 0.5484 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.623e-05/0.3718, allocations: 5.344 kB / 0.5484 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.3719, allocations: 24.11 kB / 0.5484 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3719, allocations: 6.219 kB / 0.5484 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3721, allocations: 13.61 kB / 0.5484 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.3721, allocations: 7.688 kB / 0.5484 GB, free: 11.48 MB / 398.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 0.0001271/0.3722, allocations: 122.4 kB / 0.5486 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.3722, allocations: 11.94 kB / 0.5486 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.3726, allocations: 129.5 kB / 0.5487 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3726, allocations: 1.219 kB / 0.5487 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3726, allocations: 1 kB / 0.5487 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.3726, allocations: 0 / 0.5487 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.3729, allocations: 162 kB / 0.5488 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3729, allocations: 4 kB / 0.5489 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.3731, allocations: 27.3 kB / 0.5489 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3731, allocations: 3.938 kB / 0.5489 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.3731, allocations: 5.062 kB / 0.5489 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.3731, allocations: 5.156 kB / 0.5489 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3731, allocations: 0 / 0.5489 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/0.3737, allocations: 254.4 kB / 0.5491 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.3737, allocations: 15.22 kB / 0.5491 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.3737, allocations: 9.031 kB / 0.5492 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.3738, allocations: 13.09 kB / 0.5492 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.3739, allocations: 6.547 kB / 0.5492 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.3739, allocations: 1.406 kB / 0.5492 GB, free: 10.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.374, allocations: 111.1 kB / 0.5493 GB, free: 10.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.374, allocations: 0 / 0.5493 GB, free: 10.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.3743, allocations: 24.72 kB / 0.5493 GB, free: 10.73 MB / 398.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.0008247/0.3751, allocations: 0.7802 MB / 0.5501 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.3754, allocations: 94.34 kB / 0.5502 GB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3754, allocations: 1.094 kB / 0.5502 GB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.3755, allocations: 38.45 kB / 0.5502 GB, free: 9.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3758, allocations: 14.8 kB / 0.5502 GB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.3782, allocations: 1.735 MB / 0.5519 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.77e-05/0.3783, allocations: 84.94 kB / 0.552 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.879e-05/0.3784, allocations: 11.34 kB / 0.552 GB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.3784, allocations: 27.47 kB / 0.552 GB, free: 8.305 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3785, allocations: 0 / 0.552 GB, free: 8.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.4017, allocations: 2.645 MB / 0.5546 GB, free: 6.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.92, allocations: 7.375 kB / 0.5546 GB, free: 6.91 MB / 398.1 MB " [Timeout remaining time 648] (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 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.041769315954298]