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.001982/0.001982, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002486/0.002486, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.1819/0.1819, allocations: 38.55 MB / 352.5 MB, free: 12.31 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="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.002306/0.002306, allocations: 71.89 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3653, allocations: 62.46 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004638/0.3699, allocations: 2.538 MB / 0.5444 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008049/0.3707, allocations: 427.2 kB / 0.5448 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.3708, allocations: 4.938 kB / 0.5448 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.3709, allocations: 13.02 kB / 0.5448 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.3711, allocations: 23.22 kB / 0.5449 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.3712, allocations: 23.62 kB / 0.5449 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.3714, allocations: 99.7 kB / 0.545 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3715, allocations: 13.61 kB / 0.545 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.3717, allocations: 52.91 kB / 0.545 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3718, allocations: 45.83 kB / 0.5451 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.3719, allocations: 8.031 kB / 0.5451 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.407e-05/0.3719, allocations: 8.156 kB / 0.5451 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.3719, allocations: 17.2 kB / 0.5451 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.372, allocations: 36.14 kB / 0.5451 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.3721, allocations: 93.94 kB / 0.5452 GB, free: 13.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3721, allocations: 7.938 kB / 0.5452 GB, free: 13.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3721, allocations: 1.094 kB / 0.5452 GB, free: 13.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3722, allocations: 0 / 0.5452 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.0006881/0.3728, allocations: 340 kB / 0.5456 GB, free: 13.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3729, allocations: 12.98 kB / 0.5456 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.3729, allocations: 41.12 kB / 0.5456 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.373, allocations: 13.38 kB / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.3733, allocations: 135.1 kB / 0.5458 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3733, allocations: 2.688 kB / 0.5458 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.3733, allocations: 12.72 kB / 0.5458 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.3736, allocations: 94.16 kB / 0.5459 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3736, allocations: 0 / 0.5459 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3736, allocations: 9.641 kB / 0.5459 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.3736, allocations: 5.297 kB / 0.5459 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.3738, allocations: 70.67 kB / 0.5459 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.3747, allocations: 387.3 kB / 0.5463 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.375, allocations: 92.25 kB / 0.5464 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.3752, allocations: 37.17 kB / 0.5464 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3752, allocations: 1.094 kB / 0.5464 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.3752, allocations: 37.06 kB / 0.5465 GB, free: 12.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.3752, allocations: 0 / 0.5465 GB, free: 12.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004791/0.3757, allocations: 144.3 kB / 0.5466 GB, free: 12.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.3757, allocations: 60.78 kB / 0.5467 GB, free: 12.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3759, allocations: 150.7 kB / 0.5468 GB, free: 12.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3759, allocations: 25.7 kB / 0.5468 GB, free: 12.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.376, allocations: 105.1 kB / 0.5469 GB, free: 12.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.376, allocations: 30.62 kB / 0.547 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.3761, allocations: 20.59 kB / 0.547 GB, free: 12.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3763, allocations: 321.6 kB / 0.5473 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.3764, allocations: 29.86 kB / 0.5473 GB, free: 11.72 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.3765, allocations: 61.41 kB / 0.5474 GB, free: 11.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.3768, allocations: 104.4 kB / 0.5475 GB, free: 11.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3768, allocations: 0 / 0.5475 GB, free: 11.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003241/0.3771, allocations: 128.9 kB / 0.5476 GB, free: 11.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3771, allocations: 6.031 kB / 0.5476 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3771, allocations: 7.938 kB / 0.5476 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3771, allocations: 9.938 kB / 0.5476 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.3773, allocations: 33.36 kB / 0.5477 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3773, allocations: 1.25 kB / 0.5477 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3774, allocations: 17.81 kB / 0.5477 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.3774, allocations: 3.312 kB / 0.5477 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 9.75e-05/0.3775, allocations: 114.3 kB / 0.5478 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.3776, allocations: 8.547 kB / 0.5478 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.3779, allocations: 129.6 kB / 0.5479 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3779, allocations: 5.062 kB / 0.5479 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3779, allocations: 1.156 kB / 0.5479 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3779, allocations: 3.984 kB / 0.5479 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.3782, allocations: 165.8 kB / 0.5481 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3782, allocations: 0 / 0.5481 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.3784, allocations: 23.02 kB / 0.5481 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3784, allocations: 0 / 0.5481 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3784, allocations: 1.125 kB / 0.5481 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/0.3784, allocations: 12.95 kB / 0.5481 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3784, allocations: 0 / 0.5481 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/0.379, allocations: 255.7 kB / 0.5484 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.3791, allocations: 14.59 kB / 0.5484 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.3791, allocations: 1.438 kB / 0.5484 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.3792, allocations: 11.77 kB / 0.5484 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.3793, allocations: 10.69 kB / 0.5484 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3793, allocations: 9.328 kB / 0.5484 GB, free: 10.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.3794, allocations: 103.9 kB / 0.5485 GB, free: 10.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3794, allocations: 1.219 kB / 0.5485 GB, free: 10.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.3797, allocations: 17 kB / 0.5485 GB, free: 10.74 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.001038/0.3807, allocations: 0.7837 MB / 0.5493 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.381, allocations: 89.78 kB / 0.5494 GB, free: 9.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.381, allocations: 1.344 kB / 0.5494 GB, free: 9.973 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.3812, allocations: 38.53 kB / 0.5494 GB, free: 9.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3815, allocations: 15.92 kB / 0.5494 GB, free: 9.945 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.3843, allocations: 1.75 MB / 0.5511 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.501e-05/0.3843, allocations: 79.64 kB / 0.5512 GB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.66e-05/0.3844, allocations: 13 kB / 0.5512 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.3845, allocations: 22.53 kB / 0.5513 GB, free: 8.301 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3845, allocations: 0 / 0.5513 GB, free: 8.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.4163, allocations: 2.982 MB / 0.5542 GB, free: 6.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.6, allocations: 8.641 kB / 0.5542 GB, free: 6.531 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 & 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: 14.556425380986184]