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.001297/0.001297, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001372/0.001372, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.519/1.519, allocations: 230.6 MB / 257.5 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.1985/0.1985, allocations: 38.52 MB / 352.5 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="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.002308/0.002308, allocations: 67.91 kB / 492.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3748, allocations: 62.47 MB / 0.542 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00483/0.3796, allocations: 2.58 MB / 0.5445 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008992/0.3805, allocations: 463.8 kB / 0.545 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.3806, allocations: 1.375 kB / 0.545 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.3807, allocations: 11.86 kB / 0.545 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.3809, allocations: 27.44 kB / 0.545 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.381, allocations: 23.47 kB / 0.545 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.3812, allocations: 103.8 kB / 0.5451 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3813, allocations: 18.12 kB / 0.5451 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.3816, allocations: 45.17 kB / 0.5452 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.3817, allocations: 46.3 kB / 0.5452 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.3817, allocations: 7.25 kB / 0.5452 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.943e-05/0.3817, allocations: 7.344 kB / 0.5452 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.3818, allocations: 23.47 kB / 0.5453 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.3818, allocations: 54.44 kB / 0.5453 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.382, allocations: 88.73 kB / 0.5454 GB, free: 13.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.382, allocations: 1.812 kB / 0.5454 GB, free: 13.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.382, allocations: 0 / 0.5454 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.382, allocations: 0 / 0.5454 GB, free: 13.71 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.0007478/0.3828, allocations: 340.3 kB / 0.5457 GB, free: 13.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.3828, allocations: 13.7 kB / 0.5457 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.396e-05/0.3829, allocations: 37.19 kB / 0.5458 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.3829, allocations: 13.31 kB / 0.5458 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.3832, allocations: 136 kB / 0.5459 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.3832, allocations: 10.48 kB / 0.5459 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.3833, allocations: 16.97 kB / 0.5459 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.3836, allocations: 93.55 kB / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3836, allocations: 0 / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.3836, allocations: 5.375 kB / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3836, allocations: 1.375 kB / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.3839, allocations: 66.45 kB / 0.5461 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009099/0.3848, allocations: 412 kB / 0.5465 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.3851, allocations: 83.7 kB / 0.5466 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.3852, allocations: 37.98 kB / 0.5466 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3853, allocations: 1.031 kB / 0.5466 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.3853, allocations: 39.84 kB / 0.5466 GB, free: 12.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.3853, allocations: 0 / 0.5466 GB, free: 12.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000469/0.3858, allocations: 144.4 kB / 0.5468 GB, free: 12.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.3858, allocations: 56.52 kB / 0.5468 GB, free: 12.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.386, allocations: 143.4 kB / 0.547 GB, free: 12.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.386, allocations: 25.7 kB / 0.547 GB, free: 12.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.3861, allocations: 116.3 kB / 0.5471 GB, free: 12.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.3861, allocations: 23.3 kB / 0.5471 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.3861, allocations: 28.64 kB / 0.5472 GB, free: 12.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3863, allocations: 321.1 kB / 0.5475 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3864, allocations: 29.64 kB / 0.5475 GB, free: 11.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.3866, allocations: 68.12 kB / 0.5476 GB, free: 11.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.3868, allocations: 92.42 kB / 0.5476 GB, free: 11.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3868, allocations: 0 / 0.5476 GB, free: 11.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003211/0.3871, allocations: 136 kB / 0.5478 GB, free: 11.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3872, allocations: 5.812 kB / 0.5478 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3872, allocations: 1.188 kB / 0.5478 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3872, allocations: 5.219 kB / 0.5478 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.3874, allocations: 29.48 kB / 0.5478 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3874, allocations: 1.531 kB / 0.5478 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3875, allocations: 17.3 kB / 0.5478 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3875, allocations: 11.55 kB / 0.5478 GB, free: 11.53 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.0001697/0.3877, allocations: 118.5 kB / 0.548 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.3877, allocations: 11.38 kB / 0.548 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.388, allocations: 126.6 kB / 0.5481 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3881, allocations: 9.094 kB / 0.5481 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3881, allocations: 0 / 0.5481 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3881, allocations: 5.109 kB / 0.5481 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.3884, allocations: 173 kB / 0.5483 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3884, allocations: 0 / 0.5483 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.3886, allocations: 35.78 kB / 0.5483 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3886, allocations: 0 / 0.5483 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3886, allocations: 1.188 kB / 0.5483 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3886, allocations: 3.938 kB / 0.5483 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3886, allocations: 1.406 kB / 0.5483 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/0.3891, allocations: 253.4 kB / 0.5485 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.3891, allocations: 7.328 kB / 0.5486 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.3891, allocations: 4.938 kB / 0.5486 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.3893, allocations: 12.48 kB / 0.5486 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.3893, allocations: 6.172 kB / 0.5486 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3893, allocations: 1.219 kB / 0.5486 GB, free: 10.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.909e-05/0.3894, allocations: 111.5 kB / 0.5487 GB, free: 10.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3894, allocations: 7.938 kB / 0.5487 GB, free: 10.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.3897, allocations: 29 kB / 0.5487 GB, free: 10.77 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.0007815/0.3904, allocations: 0.7777 MB / 0.5495 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.3908, allocations: 87.42 kB / 0.5496 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3908, allocations: 0 / 0.5496 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.3909, allocations: 42.97 kB / 0.5496 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.3912, allocations: 18.92 kB / 0.5496 GB, free: 9.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.3936, allocations: 1.739 MB / 0.5513 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.394, allocations: 0.7012 MB / 0.552 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.394, allocations: 4.547 kB / 0.552 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.3941, allocations: 32.92 kB / 0.552 GB, free: 7.699 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3941, allocations: 4 kB / 0.552 GB, free: 7.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0642/0.4583, allocations: 2.554 MB / 0.5545 GB, free: 6.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.45, allocations: 7.375 kB / 0.5545 GB, free: 6.363 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.610096917000192]