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.0009381/0.0009381, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001156/0.001156, allocations: 168.7 kB / 24.91 MB, free: 8.762 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.992/0.992, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2492/0.2492, allocations: 29.43 MB / 291.2 MB, free: 2.484 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.456e-05, allocations: 2.312 kB / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002872/0.002896, allocations: 2.635 MB / 319.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005733/0.00347, allocations: 455.5 kB / 319.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.167e-05/0.003531, allocations: 4 kB / 319.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.524e-05/0.003617, allocations: 11.86 kB / 319.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.481e-05/0.003711, allocations: 31.72 kB / 320 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.544e-05/0.003807, allocations: 27.91 kB / 320 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.518e-05/0.003902, allocations: 107.5 kB / 320.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.887e-05/0.003981, allocations: 11.98 kB / 320.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.004139, allocations: 67.81 kB / 320.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.855e-05/0.004207, allocations: 31.89 kB / 320.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.004224, allocations: 8 kB / 320.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.004237, allocations: 8 kB / 320.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.004257, allocations: 23.92 kB / 320.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.004288, allocations: 31.91 kB / 320.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.004399, allocations: 67.8 kB / 320.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.004401, allocations: 0 / 320.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.004402, allocations: 0 / 320.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.004405, allocations: 0 / 320.3 MB, free: 12.48 MB / 298.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.0003736/0.004779, allocations: 312.5 kB / 320.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.004809, allocations: 11.98 kB / 320.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.004841, allocations: 16.92 kB / 320.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.004967, allocations: 128.1 kB / 320.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.004975, allocations: 8.375 kB / 320.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.004997, allocations: 4.375 kB / 320.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.005116, allocations: 82.91 kB / 320.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.005124, allocations: 3.938 kB / 320.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.005133, allocations: 0 / 320.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.005139, allocations: 4 kB / 320.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.278e-05/0.005181, allocations: 23.92 kB / 320.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.005612, allocations: 279.2 kB / 321.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.005745, allocations: 50.55 kB / 321.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.005768, allocations: 16.8 kB / 321.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.005782, allocations: 160 / 321.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.005802, allocations: 42.55 kB / 321.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.005804, allocations: 0 / 321.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001255/0.005929, allocations: 57.67 kB / 321.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.005955, allocations: 51.41 kB / 321.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.00602, allocations: 140.8 kB / 321.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.006033, allocations: 29.7 kB / 321.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.006072, allocations: 108.1 kB / 321.7 MB, free: 11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.00609, allocations: 23.75 kB / 321.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.006129, allocations: 37.62 kB / 321.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000351/0.00648, allocations: 326.8 kB / 322.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.006497, allocations: 4 kB / 322.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/0.006529, allocations: 39.36 kB / 322.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.047e-05/0.00659, allocations: 55.66 kB / 322.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006592, allocations: 0 / 322.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.353e-05/0.006675, allocations: 73.59 kB / 322.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.006686, allocations: 4 kB / 322.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.00669, allocations: 0 / 322.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.006701, allocations: 4 kB / 322.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.206e-05/0.006783, allocations: 27.92 kB / 322.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.006787, allocations: 0 / 322.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.006824, allocations: 4 kB / 322.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.006831, allocations: 12.08 kB / 322.3 MB, free: 10.36 MB / 298.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.028e-05/0.006892, allocations: 121.7 kB / 322.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.00691, allocations: 8 kB / 322.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.007011, allocations: 74.38 kB / 322.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.007014, allocations: 0 / 322.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.007016, allocations: 4 kB / 322.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007019, allocations: 0 / 322.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.007152, allocations: 97.75 kB / 322.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007153, allocations: 0 / 322.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.007216, allocations: 23.97 kB / 322.6 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.007218, allocations: 8 kB / 322.6 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.007229, allocations: 4 kB / 322.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.00723, allocations: 0 / 322.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007231, allocations: 0 / 322.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.007369, allocations: 175.4 kB / 322.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.007381, allocations: 7.953 kB / 322.8 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.007393, allocations: 0 / 322.8 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.645e-05/0.00744, allocations: 8 kB / 322.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.00747, allocations: 7.984 kB / 322.8 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.007474, allocations: 3.938 kB / 322.8 MB, free: 9.777 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.021e-05/0.007494, allocations: 32.86 kB / 322.8 MB, free: 9.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007494, allocations: 0 / 322.8 MB, free: 9.742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.00765, allocations: 20 kB / 322.9 MB, free: 9.723 MB / 298.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 7.596e-05/0.007726, allocations: 72.42 kB / 322.9 MB, free: 9.645 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.074e-05/0.007807, allocations: 40.77 kB / 323 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.007811, allocations: 4 kB / 323 MB, free: 9.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.007838, allocations: 24.78 kB / 323 MB, free: 9.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.007984, allocations: 19.17 kB / 323 MB, free: 9.555 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006931/0.008677, allocations: 312.8 kB / 323.3 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.44e-05/0.008711, allocations: 63.34 kB / 323.4 MB, free: 9.141 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.853e-05/0.00875, allocations: 11.98 kB / 323.4 MB, free: 9.129 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.008812, allocations: 59.36 kB / 323.5 MB, free: 9.07 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.008812, allocations: 0 / 323.5 MB, free: 9.07 MB / 298.7 MB Notification: Performance of Templates: time 0.002654/0.01147, allocations: 1.082 MB / 324.5 MB, free: 8.008 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.892108546104282]