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.001657/0.001657, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.0024/0.0024, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.526/1.526, allocations: 230.6 MB / 254.8 MB, free: 15.21 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.1893/0.1893, allocations: 38.51 MB / 349.4 MB, free: 2.562 MB / 270.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.002065/0.002065, allocations: 76.44 kB / 487.8 MB, free: 32.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1181, allocations: 62.43 MB / 0.5374 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004571/0.1227, allocations: 2.474 MB / 0.5398 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007877/0.1235, allocations: 470.8 kB / 0.5402 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/0.1235, allocations: 0 / 0.5402 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.1237, allocations: 11.86 kB / 0.5402 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.1238, allocations: 23.73 kB / 0.5403 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.124, allocations: 31.89 kB / 0.5403 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1242, allocations: 103.6 kB / 0.5404 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1243, allocations: 12 kB / 0.5404 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.1245, allocations: 55.78 kB / 0.5405 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1246, allocations: 51.81 kB / 0.5405 GB, free: 6.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1246, allocations: 8 kB / 0.5405 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.021e-05/0.1247, allocations: 8 kB / 0.5405 GB, free: 6.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.1247, allocations: 19.92 kB / 0.5405 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1248, allocations: 43.73 kB / 0.5406 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.125, allocations: 91.89 kB / 0.5407 GB, free: 6.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.125, allocations: 4 kB / 0.5407 GB, free: 6.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.125, allocations: 0 / 0.5407 GB, free: 6.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.125, allocations: 0 / 0.5407 GB, free: 6.078 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.0008203/0.1258, allocations: 415 kB / 0.5411 GB, free: 5.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1259, allocations: 8.031 kB / 0.5411 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.82e-05/0.1259, allocations: 4.188 kB / 0.5411 GB, free: 5.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.126, allocations: 38.73 kB / 0.5411 GB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.126, allocations: 16.84 kB / 0.5411 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.1263, allocations: 188.2 kB / 0.5413 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1263, allocations: 12.06 kB / 0.5413 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1263, allocations: 11.98 kB / 0.5413 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.1266, allocations: 85.66 kB / 0.5414 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1266, allocations: 3.984 kB / 0.5414 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.1267, allocations: 7.984 kB / 0.5414 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1267, allocations: 0 / 0.5414 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.1269, allocations: 70.34 kB / 0.5415 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009043/0.1278, allocations: 469.2 kB / 0.5419 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.1282, allocations: 86.66 kB / 0.542 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1283, allocations: 36.78 kB / 0.5421 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1283, allocations: 4 kB / 0.5421 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1283, allocations: 38.55 kB / 0.5421 GB, free: 4.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1283, allocations: 0 / 0.5421 GB, free: 4.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004883/0.1288, allocations: 137.7 kB / 0.5422 GB, free: 4.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.1289, allocations: 55.41 kB / 0.5423 GB, free: 4.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.129, allocations: 148.2 kB / 0.5424 GB, free: 4.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.129, allocations: 29.7 kB / 0.5425 GB, free: 4.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.1291, allocations: 112.1 kB / 0.5426 GB, free: 3.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.1291, allocations: 19.8 kB / 0.5426 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.1292, allocations: 33.66 kB / 0.5426 GB, free: 3.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1294, allocations: 318.8 kB / 0.5429 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1295, allocations: 35.97 kB / 0.5429 GB, free: 3.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.1296, allocations: 67.34 kB / 0.543 GB, free: 3.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.1299, allocations: 95.33 kB / 0.5431 GB, free: 3.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.1299, allocations: 4 kB / 0.5431 GB, free: 3.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003267/0.1302, allocations: 129.5 kB / 0.5432 GB, free: 3.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1303, allocations: 4 kB / 0.5432 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1303, allocations: 0 / 0.5432 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1303, allocations: 7.938 kB / 0.5432 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.1305, allocations: 31.91 kB / 0.5433 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1305, allocations: 0 / 0.5433 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.1306, allocations: 16.08 kB / 0.5433 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1306, allocations: 8 kB / 0.5433 GB, free: 3.125 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.0001144/0.1307, allocations: 117.8 kB / 0.5434 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.1307, allocations: 11.91 kB / 0.5434 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.1311, allocations: 134.2 kB / 0.5435 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1311, allocations: 3.938 kB / 0.5436 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1311, allocations: 0 / 0.5436 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1311, allocations: 4 kB / 0.5436 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.1314, allocations: 205.5 kB / 0.5438 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1314, allocations: 0 / 0.5438 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.1316, allocations: 27.98 kB / 0.5438 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1316, allocations: 0 / 0.5438 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1316, allocations: 7.938 kB / 0.5438 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1316, allocations: 0 / 0.5438 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1316, allocations: 0 / 0.5438 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.1321, allocations: 259.8 kB / 0.544 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.1322, allocations: 85.09 kB / 0.5441 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.1322, allocations: 7.938 kB / 0.5441 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.1323, allocations: 11.98 kB / 0.5441 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.1324, allocations: 0 / 0.5441 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1324, allocations: 4 kB / 0.5441 GB, free: 2.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.571e-05/0.1325, allocations: 111.2 kB / 0.5442 GB, free: 2.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1325, allocations: 4.062 kB / 0.5442 GB, free: 2.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1327, allocations: 20 kB / 0.5443 GB, free: 2.027 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.0008592/0.1336, allocations: 0.7829 MB / 0.545 GB, free: 1.219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.1339, allocations: 95.86 kB / 0.5451 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1339, allocations: 0 / 0.5451 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.134, allocations: 35.98 kB / 0.5452 GB, free: 1.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.1343, allocations: 11.98 kB / 0.5452 GB, free: 1.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.1368, allocations: 1.735 MB / 0.5469 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.1373, allocations: 0.7079 MB / 0.5476 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.388e-05/0.1373, allocations: 0.6719 kB / 0.5476 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.277e-05/0.1374, allocations: 35.42 kB / 0.5476 GB, free: 14.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1374, allocations: 4 kB / 0.5476 GB, free: 14.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.1582, allocations: 2.44 MB / 0.55 GB, free: 12.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/8.595, allocations: 12.06 kB / 0.55 GB, free: 12.12 MB / 414.1 MB " [Timeout remaining time 651] (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: 11.649310145992786]