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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1815/0.1815, allocations: 38.51 MB / 342.5 MB, free: 8.082 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 68.73 kB / 478.6 MB, free: 33.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.12, allocations: 61.24 MB / 0.5272 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004508/0.1245, allocations: 2.466 MB / 0.5296 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006876/0.1252, allocations: 442.9 kB / 0.53 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.1253, allocations: 4 kB / 0.53 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.1254, allocations: 7.875 kB / 0.53 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.1255, allocations: 23.78 kB / 0.5301 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.1256, allocations: 31.89 kB / 0.5301 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.1258, allocations: 95.64 kB / 0.5302 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.126, allocations: 15.98 kB / 0.5302 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1261, allocations: 55.72 kB / 0.5303 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1262, allocations: 47.77 kB / 0.5303 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.1262, allocations: 8 kB / 0.5303 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.014e-05/0.1262, allocations: 8 kB / 0.5303 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.1263, allocations: 23.91 kB / 0.5303 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.1264, allocations: 39.8 kB / 0.5304 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.1265, allocations: 95.83 kB / 0.5305 GB, free: 14.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1265, allocations: 0 / 0.5305 GB, free: 14.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1265, allocations: 4 kB / 0.5305 GB, free: 14.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1265, allocations: 0 / 0.5305 GB, free: 14.04 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.0007941/0.1273, allocations: 419 kB / 0.5309 GB, free: 13.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1274, allocations: 11.89 kB / 0.5309 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.094e-05/0.1274, allocations: 42.73 kB / 0.5309 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.1275, allocations: 12.83 kB / 0.5309 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1277, allocations: 188.2 kB / 0.5311 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1278, allocations: 8.375 kB / 0.5311 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.1278, allocations: 11.94 kB / 0.5311 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.1281, allocations: 91.73 kB / 0.5312 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1281, allocations: 0 / 0.5312 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.1281, allocations: 4 kB / 0.5312 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1281, allocations: 4 kB / 0.5312 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.1284, allocations: 71.88 kB / 0.5313 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008946/0.1292, allocations: 469.3 kB / 0.5317 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.1296, allocations: 86.59 kB / 0.5318 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1297, allocations: 32.84 kB / 0.5319 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.1297, allocations: 7.938 kB / 0.5319 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1298, allocations: 38.56 kB / 0.5319 GB, free: 12.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1298, allocations: 0 / 0.5319 GB, free: 12.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004711/0.1302, allocations: 137.5 kB / 0.532 GB, free: 12.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.1303, allocations: 55.34 kB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1304, allocations: 136.1 kB / 0.5322 GB, free: 12.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1304, allocations: 33.69 kB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.1305, allocations: 108.3 kB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1305, allocations: 27.77 kB / 0.5324 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.1306, allocations: 25.72 kB / 0.5324 GB, free: 11.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1308, allocations: 318.8 kB / 0.5327 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.1309, allocations: 35.97 kB / 0.5327 GB, free: 11.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.131, allocations: 67.34 kB / 0.5328 GB, free: 11.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.1313, allocations: 91.34 kB / 0.5329 GB, free: 11.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1313, allocations: 0 / 0.5329 GB, free: 11.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000304/0.1316, allocations: 133.8 kB / 0.533 GB, free: 11.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1316, allocations: 4 kB / 0.533 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1316, allocations: 4.078 kB / 0.533 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1316, allocations: 3.938 kB / 0.533 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1318, allocations: 31.91 kB / 0.5331 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1318, allocations: 7.984 kB / 0.5331 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1319, allocations: 16.05 kB / 0.5331 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.1319, allocations: 4 kB / 0.5331 GB, free: 11.09 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 9.991e-05/0.132, allocations: 117.8 kB / 0.5332 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.1321, allocations: 7.953 kB / 0.5332 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.1324, allocations: 130.3 kB / 0.5333 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1324, allocations: 3.938 kB / 0.5333 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.1324, allocations: 8 kB / 0.5333 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1324, allocations: 4 kB / 0.5334 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.1327, allocations: 209.5 kB / 0.5336 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1327, allocations: 0 / 0.5336 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.1329, allocations: 27.98 kB / 0.5336 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1329, allocations: 0 / 0.5336 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1329, allocations: 0 / 0.5336 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1329, allocations: 3.938 kB / 0.5336 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1329, allocations: 0 / 0.5336 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.1334, allocations: 259.3 kB / 0.5338 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.1334, allocations: 81.06 kB / 0.5339 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.1335, allocations: 12.02 kB / 0.5339 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1336, allocations: 7.938 kB / 0.5339 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.1336, allocations: 11.97 kB / 0.5339 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.1336, allocations: 0 / 0.5339 GB, free: 10.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.165e-05/0.1337, allocations: 103.3 kB / 0.534 GB, free: 10.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1337, allocations: 4 kB / 0.534 GB, free: 10.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.134, allocations: 20 kB / 0.5341 GB, free: 10 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.0008099/0.1348, allocations: 0.7865 MB / 0.5348 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.1351, allocations: 79.95 kB / 0.5349 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1351, allocations: 192 / 0.5349 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1352, allocations: 39.97 kB / 0.5349 GB, free: 9.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.1355, allocations: 15.88 kB / 0.535 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.1378, allocations: 1.745 MB / 0.5367 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1381, allocations: 0.7041 MB / 0.5373 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.262e-05/0.1382, allocations: 8.609 kB / 0.5374 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.1382, allocations: 35.42 kB / 0.5374 GB, free: 6.441 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1382, allocations: 0 / 0.5374 GB, free: 6.441 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.1681, allocations: 2.42 MB / 0.5398 GB, free: 4.109 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.318, allocations: 15.67 kB / 0.5398 GB, free: 4.098 MB / 398.1 MB " [Timeout remaining time 652] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.194261058233678]