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.001079/0.001079, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009983/0.0009983, allocations: 170 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9312/0.9312, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2244/0.2244, allocations: 29.41 MB / 290.1 MB, free: 2.457 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 430.2 MB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.188e-05, allocations: 10.22 kB / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002695/0.002717, allocations: 2.533 MB / 432.7 MB, free: 11.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005316/0.003248, allocations: 446.7 kB / 433.2 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.003313, allocations: 0 / 433.2 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.748e-05/0.003401, allocations: 11.86 kB / 433.2 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.003506, allocations: 23.78 kB / 433.2 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.003608, allocations: 31.91 kB / 433.2 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.003732, allocations: 107.5 kB / 433.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003834, allocations: 15.97 kB / 433.4 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.003994, allocations: 67.81 kB / 433.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.004058, allocations: 31.89 kB / 433.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.004076, allocations: 8 kB / 433.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.004089, allocations: 8 kB / 433.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.004108, allocations: 19.92 kB / 433.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.004139, allocations: 31.91 kB / 433.5 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.00426, allocations: 99.66 kB / 433.6 MB, free: 10.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004262, allocations: 7.938 kB / 433.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004263, allocations: 0 / 433.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004267, allocations: 0 / 433.6 MB, free: 10.18 MB / 410.7 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.0005245/0.004791, allocations: 333.9 kB / 434 MB, free: 9.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.004831, allocations: 15.98 kB / 434 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.004861, allocations: 34.75 kB / 434 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.004887, allocations: 8.891 kB / 434 MB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.00506, allocations: 146.1 kB / 434.2 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.00507, allocations: 4.375 kB / 434.2 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.005091, allocations: 8.375 kB / 434.2 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.005265, allocations: 104.2 kB / 434.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.005274, allocations: 0 / 434.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005284, allocations: 0 / 434.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.005289, allocations: 0 / 434.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.005424, allocations: 71.94 kB / 434.3 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005609/0.005985, allocations: 390.9 kB / 434.7 MB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.006185, allocations: 90.66 kB / 434.8 MB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.307e-05/0.006249, allocations: 32.84 kB / 434.8 MB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.006261, allocations: 0 / 434.8 MB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.00628, allocations: 38.5 kB / 434.9 MB, free: 8.789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 7.61e-07/0.006281, allocations: 0 / 434.9 MB, free: 8.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002786/0.00656, allocations: 145.7 kB / 435 MB, free: 8.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.006587, allocations: 51.41 kB / 435.1 MB, free: 8.578 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.006673, allocations: 148.7 kB / 435.2 MB, free: 8.426 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.006683, allocations: 25.7 kB / 435.2 MB, free: 8.395 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.00673, allocations: 100.1 kB / 435.3 MB, free: 8.293 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.006749, allocations: 27.88 kB / 435.4 MB, free: 8.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.006784, allocations: 21.72 kB / 435.4 MB, free: 8.238 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.456e-05/0.006869, allocations: 322.8 kB / 435.7 MB, free: 7.914 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.36e-05/0.006932, allocations: 39.97 kB / 435.7 MB, free: 7.875 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.64e-05/0.007009, allocations: 63.34 kB / 435.8 MB, free: 7.801 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.007141, allocations: 95.34 kB / 435.9 MB, free: 7.695 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.007144, allocations: 4 kB / 435.9 MB, free: 7.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001792/0.007323, allocations: 133.8 kB / 436 MB, free: 7.555 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.007335, allocations: 4 kB / 436 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.00734, allocations: 0 / 436 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.007352, allocations: 4.188 kB / 436 MB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.007441, allocations: 27.97 kB / 436.1 MB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.007448, allocations: 7.953 kB / 436.1 MB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.007498, allocations: 19.83 kB / 436.1 MB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.007508, allocations: 12.08 kB / 436.1 MB, free: 7.48 MB / 410.7 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 6.029e-05/0.007568, allocations: 121.8 kB / 436.2 MB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.007585, allocations: 7.953 kB / 436.2 MB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.007773, allocations: 126.4 kB / 436.4 MB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.007775, allocations: 3.984 kB / 436.4 MB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.00778, allocations: 0 / 436.4 MB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.007784, allocations: 7.875 kB / 436.4 MB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.007935, allocations: 156.7 kB / 436.5 MB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.007936, allocations: 8 kB / 436.5 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.064e-05/0.008007, allocations: 31.91 kB / 436.6 MB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.008009, allocations: 4 kB / 436.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.008017, allocations: 0 / 436.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.008018, allocations: 0 / 436.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008019, allocations: 0 / 436.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.008283, allocations: 259.3 kB / 436.8 MB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.008296, allocations: 7.984 kB / 436.8 MB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.00831, allocations: 4.062 kB / 436.8 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.42e-05/0.008374, allocations: 11.98 kB / 436.8 MB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.008411, allocations: 11.92 kB / 436.9 MB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.008417, allocations: 3.938 kB / 436.9 MB, free: 6.652 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.67e-05/0.008463, allocations: 103.3 kB / 437 MB, free: 6.551 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008463, allocations: 0 / 437 MB, free: 6.551 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.008625, allocations: 27.94 kB / 437 MB, free: 6.523 MB / 410.7 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.0004276/0.009053, allocations: 0.7788 MB / 437.8 MB, free: 5.719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.009304, allocations: 79.88 kB / 437.8 MB, free: 5.641 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009306, allocations: 0 / 437.8 MB, free: 5.641 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.00941, allocations: 43.91 kB / 437.9 MB, free: 5.598 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.009725, allocations: 11.94 kB / 437.9 MB, free: 5.586 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.01174, allocations: 1.692 MB / 439.6 MB, free: 3.789 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.548e-05/0.01182, allocations: 85.44 kB / 439.7 MB, free: 3.688 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.647e-05/0.01187, allocations: 16.66 kB / 439.7 MB, free: 3.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.479e-05/0.01195, allocations: 32.42 kB / 439.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01195, allocations: 0 / 439.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.03141, allocations: 3.127 MB / 442.8 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.049, allocations: 3.125 kB / 442.9 MB, free: 0.6289 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","/var/lib/jenkins/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: 9.230642106384039]