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.001536/0.001536, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002057/0.002057, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.531/1.531, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.1849/0.1849, allocations: 38.52 MB / 353.2 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] 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.002052/0.002052, allocations: 66.56 kB / 493.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3872, allocations: 62.47 MB / 0.5428 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004188/0.3914, allocations: 2.588 MB / 0.5453 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007958/0.3922, allocations: 463.3 kB / 0.5457 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.3923, allocations: 1.281 kB / 0.5457 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.3924, allocations: 13.17 kB / 0.5457 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.3925, allocations: 27.19 kB / 0.5458 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.3926, allocations: 26.55 kB / 0.5458 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.3928, allocations: 105 kB / 0.5459 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.393, allocations: 17.67 kB / 0.5459 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.3932, allocations: 45.23 kB / 0.5459 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3933, allocations: 50.31 kB / 0.546 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3933, allocations: 7.094 kB / 0.546 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.259e-05/0.3934, allocations: 7.375 kB / 0.546 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.3934, allocations: 18.36 kB / 0.546 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.3934, allocations: 47.58 kB / 0.5461 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.3936, allocations: 92.95 kB / 0.5462 GB, free: 13.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3936, allocations: 1.719 kB / 0.5462 GB, free: 13.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3936, allocations: 0 / 0.5462 GB, free: 13.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3936, allocations: 4 kB / 0.5462 GB, free: 13.74 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.0007236/0.3944, allocations: 332.7 kB / 0.5465 GB, free: 13.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3944, allocations: 13.52 kB / 0.5465 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.694e-05/0.3944, allocations: 5.844 kB / 0.5465 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.3945, allocations: 42.08 kB / 0.5465 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.3945, allocations: 17 kB / 0.5466 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.3948, allocations: 139 kB / 0.5467 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3948, allocations: 7.25 kB / 0.5467 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.3949, allocations: 8.562 kB / 0.5467 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.3951, allocations: 86.55 kB / 0.5468 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3951, allocations: 0 / 0.5468 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.3952, allocations: 5.219 kB / 0.5468 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3952, allocations: 1.344 kB / 0.5468 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.3954, allocations: 74.41 kB / 0.5469 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008803/0.3963, allocations: 404 kB / 0.5473 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.3967, allocations: 95.53 kB / 0.5473 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.3968, allocations: 37.64 kB / 0.5474 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3968, allocations: 5 kB / 0.5474 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.3968, allocations: 35.62 kB / 0.5474 GB, free: 12.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3968, allocations: 1.188 kB / 0.5474 GB, free: 12.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005253/0.3974, allocations: 141.1 kB / 0.5476 GB, free: 12.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3974, allocations: 55.41 kB / 0.5476 GB, free: 12.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3976, allocations: 143.6 kB / 0.5477 GB, free: 12.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.3976, allocations: 27.08 kB / 0.5478 GB, free: 12.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.3977, allocations: 104.2 kB / 0.5479 GB, free: 12.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.3977, allocations: 22.69 kB / 0.5479 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.3978, allocations: 36.47 kB / 0.5479 GB, free: 12.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002853/0.3981, allocations: 320.2 kB / 0.5482 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.3982, allocations: 33.86 kB / 0.5483 GB, free: 11.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.3983, allocations: 61.28 kB / 0.5483 GB, free: 11.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.3986, allocations: 99.39 kB / 0.5484 GB, free: 11.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3986, allocations: 0 / 0.5484 GB, free: 11.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003399/0.3989, allocations: 133 kB / 0.5485 GB, free: 11.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.399, allocations: 5.531 kB / 0.5485 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.399, allocations: 0 / 0.5485 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.399, allocations: 6.156 kB / 0.5486 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3992, allocations: 32.95 kB / 0.5486 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3992, allocations: 1.516 kB / 0.5486 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3993, allocations: 18.73 kB / 0.5486 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3993, allocations: 6.25 kB / 0.5486 GB, free: 11.56 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.0001003/0.3994, allocations: 114.3 kB / 0.5487 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.3994, allocations: 16.55 kB / 0.5487 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.3998, allocations: 138.3 kB / 0.5489 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3998, allocations: 1.094 kB / 0.5489 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3998, allocations: 0 / 0.5489 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3998, allocations: 0 / 0.5489 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.4001, allocations: 173.2 kB / 0.549 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.4001, allocations: 4.781 kB / 0.549 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.4002, allocations: 27.83 kB / 0.5491 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4002, allocations: 0 / 0.5491 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.4003, allocations: 9.047 kB / 0.5491 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4003, allocations: 0 / 0.5491 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4003, allocations: 1.344 kB / 0.5491 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.4008, allocations: 262.2 kB / 0.5493 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.4008, allocations: 6.766 kB / 0.5493 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.4008, allocations: 7.938 kB / 0.5493 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.401, allocations: 13.23 kB / 0.5494 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.401, allocations: 11.05 kB / 0.5494 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.401, allocations: 1.094 kB / 0.5494 GB, free: 10.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.628e-05/0.4011, allocations: 110.4 kB / 0.5495 GB, free: 10.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4011, allocations: 0 / 0.5495 GB, free: 10.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.4014, allocations: 21.69 kB / 0.5495 GB, free: 10.8 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.0008321/0.4022, allocations: 0.7857 MB / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.4025, allocations: 89.94 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4025, allocations: 0 / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.4026, allocations: 39.41 kB / 0.5504 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.4029, allocations: 14.62 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.4053, allocations: 1.74 MB / 0.5521 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.4056, allocations: 0.6941 MB / 0.5528 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.755e-05/0.4057, allocations: 11.94 kB / 0.5528 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.4058, allocations: 28.53 kB / 0.5528 GB, free: 7.73 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4058, allocations: 0 / 0.5528 GB, free: 7.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.4288, allocations: 2.589 MB / 0.5553 GB, free: 6.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.71, allocations: 6.281 kB / 0.5553 GB, free: 6.379 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: 14.80366757104639]