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.001751/0.001751, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.002188/0.002188, allocations: 211.2 kB / 20.75 MB, free: 2.293 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.512/1.512, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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.1823/0.1823, allocations: 38.51 MB / 348.7 MB, free: 2.668 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.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="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: 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.002013/0.002013, allocations: 67.89 kB / 487.1 MB, free: 22.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1288, allocations: 62.43 MB / 0.5367 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004207/0.133, allocations: 2.467 MB / 0.5391 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007431/0.1337, allocations: 474.7 kB / 0.5395 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.1338, allocations: 4 kB / 0.5395 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.1339, allocations: 11.86 kB / 0.5396 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1341, allocations: 23.78 kB / 0.5396 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.1342, allocations: 31.95 kB / 0.5396 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.1343, allocations: 99.58 kB / 0.5397 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.1344, allocations: 8 kB / 0.5397 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1346, allocations: 55.78 kB / 0.5398 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1347, allocations: 51.81 kB / 0.5398 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.1347, allocations: 8 kB / 0.5398 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.1348, allocations: 8 kB / 0.5398 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.1348, allocations: 15.92 kB / 0.5398 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.1348, allocations: 43.73 kB / 0.5399 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.135, allocations: 91.89 kB / 0.54 GB, free: 4.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.135, allocations: 4 kB / 0.54 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.135, allocations: 0 / 0.54 GB, free: 4.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.135, allocations: 4 kB / 0.54 GB, free: 4.164 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.0007386/0.1358, allocations: 415 kB / 0.5404 GB, free: 3.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1358, allocations: 8.031 kB / 0.5404 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.1358, allocations: 42.73 kB / 0.5404 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.1359, allocations: 16.84 kB / 0.5404 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.1361, allocations: 190.2 kB / 0.5406 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1362, allocations: 8.359 kB / 0.5406 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.1362, allocations: 15.88 kB / 0.5407 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.1365, allocations: 85.64 kB / 0.5407 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1365, allocations: 3.938 kB / 0.5407 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1365, allocations: 4 kB / 0.5407 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1365, allocations: 4 kB / 0.5407 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.1367, allocations: 71.94 kB / 0.5408 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/0.1376, allocations: 465.2 kB / 0.5413 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.138, allocations: 94.59 kB / 0.5413 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.1381, allocations: 32.84 kB / 0.5414 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.1381, allocations: 3.984 kB / 0.5414 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1381, allocations: 38.56 kB / 0.5414 GB, free: 2.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1381, allocations: 0 / 0.5414 GB, free: 2.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000513/0.1387, allocations: 145.6 kB / 0.5416 GB, free: 2.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.1387, allocations: 55.39 kB / 0.5416 GB, free: 2.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1388, allocations: 148.4 kB / 0.5418 GB, free: 2.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1389, allocations: 25.7 kB / 0.5418 GB, free: 2.113 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.1389, allocations: 108.1 kB / 0.5419 GB, free: 2.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.139, allocations: 23.8 kB / 0.5419 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.139, allocations: 33.66 kB / 0.5419 GB, free: 1.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1392, allocations: 314.8 kB / 0.5422 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1393, allocations: 39.97 kB / 0.5423 GB, free: 1.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1395, allocations: 55.41 kB / 0.5423 GB, free: 1.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.1398, allocations: 107.6 kB / 0.5424 GB, free: 1.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1398, allocations: 0 / 0.5424 GB, free: 1.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003389/0.1401, allocations: 133.5 kB / 0.5426 GB, free: 1.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1401, allocations: 4 kB / 0.5426 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1401, allocations: 7.984 kB / 0.5426 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1401, allocations: 3.938 kB / 0.5426 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.1403, allocations: 28.08 kB / 0.5426 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1403, allocations: 4 kB / 0.5426 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1404, allocations: 11.98 kB / 0.5426 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1404, allocations: 4 kB / 0.5426 GB, free: 1.203 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.0001029/0.1405, allocations: 121.7 kB / 0.5427 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.1406, allocations: 11.91 kB / 0.5427 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.1409, allocations: 126.3 kB / 0.5429 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1409, allocations: 3.938 kB / 0.5429 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1409, allocations: 3.938 kB / 0.5429 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1409, allocations: 4 kB / 0.5429 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.1412, allocations: 205.5 kB / 0.5431 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1412, allocations: 0 / 0.5431 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1414, allocations: 19.98 kB / 0.5431 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1414, allocations: 4 kB / 0.5431 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1414, allocations: 4.188 kB / 0.5431 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1414, allocations: 3.938 kB / 0.5431 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1414, allocations: 11.88 kB / 0.5431 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.1419, allocations: 255.4 kB / 0.5434 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.142, allocations: 81.06 kB / 0.5434 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.142, allocations: 4.031 kB / 0.5434 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.1421, allocations: 15.92 kB / 0.5435 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.1422, allocations: 4.062 kB / 0.5435 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1422, allocations: 4 kB / 0.5435 GB, free: 244 kB / 398.1 MB Notification: Performance of sorting global known variables: time 7.78e-05/0.1423, allocations: 111.2 kB / 0.5436 GB, free: 132 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1423, allocations: 0 / 0.5436 GB, free: 132 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1425, allocations: 20 kB / 0.5436 GB, free: 112 kB / 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.0007835/0.1433, allocations: 0.7788 MB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.1436, allocations: 87.86 kB / 0.5444 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1436, allocations: 0 / 0.5444 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1437, allocations: 35.98 kB / 0.5445 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.144, allocations: 28.73 kB / 0.5445 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.1463, allocations: 1.731 MB / 0.5462 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1466, allocations: 0.704 MB / 0.5469 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.1467, allocations: 4.672 kB / 0.5469 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.1468, allocations: 27.42 kB / 0.5469 GB, free: 12.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1468, allocations: 4 kB / 0.5469 GB, free: 12.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.1729, allocations: 2.406 MB / 0.5493 GB, free: 10.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.325/8.498, allocations: 11.41 kB / 0.5493 GB, free: 10.23 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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.csv failed! Error: Could not read variable rotor.flange.tau in file PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.csv. Warning: Get data of variable rotor.flange.tau from file PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.csv failed! Error: Could not read variable rotor.lambda in file PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.csv. Warning: Get data of variable rotor.lambda from file PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.csv failed! Error: Could not read variable rotor.lambdai in file PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.csv. Warning: Get data of variable rotor.lambdai from file PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.52203466789797]