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.0009918/0.0009918, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.000942/0.000942, allocations: 170.3 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 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.3265/0.3265, allocations: 29.42 MB / 291.2 MB, free: 2.418 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 2.134e-06/2.134e-06, allocations: 0 / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.37e-05, allocations: 7.156 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003902/0.003935, allocations: 2.69 MB / 319.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006655/0.004601, allocations: 459.5 kB / 320 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.908e-05/0.00469, allocations: 0 / 320 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.004807, allocations: 11.88 kB / 320 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.004947, allocations: 23.78 kB / 320.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.005072, allocations: 23.95 kB / 320.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.00521, allocations: 107.5 kB / 320.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.005328, allocations: 11.98 kB / 320.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.005542, allocations: 63.77 kB / 320.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.00563, allocations: 43.88 kB / 320.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.005651, allocations: 8 kB / 320.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.005666, allocations: 8 kB / 320.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.005688, allocations: 19.92 kB / 320.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.005727, allocations: 31.89 kB / 320.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.00588, allocations: 67.8 kB / 320.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.005883, allocations: 0 / 320.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005884, allocations: 0 / 320.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.005889, allocations: 0 / 320.4 MB, free: 12.41 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.0004757/0.006365, allocations: 316.5 kB / 320.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.00641, allocations: 15.98 kB / 320.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.006446, allocations: 4.938 kB / 320.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.006614, allocations: 141.5 kB / 320.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.006624, allocations: 8.375 kB / 320.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.006648, allocations: 4.375 kB / 320.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.006804, allocations: 86.89 kB / 321 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.006817, allocations: 3.938 kB / 321 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.006826, allocations: 4 kB / 321 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.006832, allocations: 0 / 321 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.00688, allocations: 19.98 kB / 321 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.007388, allocations: 279.2 kB / 321.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.007539, allocations: 46.56 kB / 321.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.007571, allocations: 20.84 kB / 321.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.007587, allocations: 0 / 321.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.007612, allocations: 34.56 kB / 321.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.007614, allocations: 0 / 321.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001671/0.007781, allocations: 65.75 kB / 321.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.007815, allocations: 55.41 kB / 321.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.693e-05/0.007902, allocations: 136.8 kB / 321.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.007914, allocations: 25.7 kB / 321.7 MB, free: 11.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.007966, allocations: 104.1 kB / 321.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.007988, allocations: 27.75 kB / 321.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.00803, allocations: 29.7 kB / 321.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.00813, allocations: 322.8 kB / 322.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.008152, allocations: 8 kB / 322.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.633e-05/0.008188, allocations: 39.36 kB / 322.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.907e-05/0.008257, allocations: 55.64 kB / 322.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.00826, allocations: 0 / 322.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001022/0.008362, allocations: 73.59 kB / 322.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.008382, allocations: 8 kB / 322.3 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.008388, allocations: 0 / 322.3 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.008402, allocations: 0 / 322.3 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.008542, allocations: 36.06 kB / 322.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.008548, allocations: 7.938 kB / 322.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/0.008585, allocations: 4 kB / 322.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.008594, allocations: 4 kB / 322.4 MB, free: 10.28 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 8.174e-05/0.008675, allocations: 117.7 kB / 322.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.008699, allocations: 7.984 kB / 322.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.00882, allocations: 82.36 kB / 322.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.008823, allocations: 0 / 322.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.008825, allocations: 0 / 322.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.008829, allocations: 4 kB / 322.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.008987, allocations: 101.7 kB / 322.7 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.00899, allocations: 0 / 322.7 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.009091, allocations: 31.97 kB / 322.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.009095, allocations: 0 / 322.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.009108, allocations: 0 / 322.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.009111, allocations: 4 kB / 322.7 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009112, allocations: 4 kB / 322.7 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.00929, allocations: 167.4 kB / 322.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.009306, allocations: 7.953 kB / 322.9 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.009319, allocations: 4.031 kB / 322.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.00937, allocations: 11.94 kB / 322.9 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.009411, allocations: 7.984 kB / 322.9 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.009415, allocations: 0 / 322.9 MB, free: 9.688 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.89e-05/0.009444, allocations: 26.86 kB / 322.9 MB, free: 9.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009444, allocations: 0 / 322.9 MB, free: 9.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000149/0.009593, allocations: 20 kB / 323 MB, free: 9.641 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 0.0001015/0.009694, allocations: 84.39 kB / 323 MB, free: 9.551 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.009797, allocations: 40.91 kB / 323.1 MB, free: 9.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.009803, allocations: 8.062 kB / 323.1 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.059e-05/0.009834, allocations: 20.84 kB / 323.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.01001, allocations: 19.92 kB / 323.1 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000813/0.01083, allocations: 308.8 kB / 323.4 MB, free: 9.129 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.919e-05/0.01088, allocations: 63.34 kB / 323.5 MB, free: 9.047 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.23e-05/0.01093, allocations: 4.719 kB / 323.5 MB, free: 9.039 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.01101, allocations: 59.38 kB / 323.6 MB, free: 8.98 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01101, allocations: 0 / 323.6 MB, free: 8.98 MB / 298.7 MB Notification: Performance of Templates: time 0.003287/0.0143, allocations: 1.174 MB / 324.7 MB, free: 7.836 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 -s gbode -gbm=radauIIA3 -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.945616520009935]